透過集合功能整理內容
你可以依據偏好儲存及分類內容。
封鎖 >JavaScript
JavaScript 變數
Signature:
JavaScript: any
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\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"]]