Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
blockly > JavaScript
JavaScript-Variable
Unterschrift:
JavaScript: any
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[[["\u003cp\u003eIn Blockly, variables act as containers for storing and retrieving information, akin to how they function in standard JavaScript.\u003c/p\u003e\n"],["\u003cp\u003eThe provided signature indicates the versatile nature of variables in Blockly, capable of encompassing various data types—numbers, text, lists, etc.\u003c/p\u003e\n"],["\u003cp\u003eBlockly simplifies variable use, abstracting away the complexities of JavaScript declaration (using 'var', 'let', or 'const').\u003c/p\u003e\n"]]],["The document describes a JavaScript variable within the context of Blockly. The core information provided is the variable's signature. Specifically, it states the variable's type in JavaScript as \"any\". This indicates that the variable in question can hold data of any type within the JavaScript environment integrated with Blockly.\n"],null,["[blockly](./blockly.md) \\\u003e [JavaScript](./blockly.javascript_variable.md)\n\nJavaScript variable\n-------------------\n\n**Signature:** \n\n JavaScript: any"]]