標準資料庫
除了 API 中記錄的全域變數外,採用沙箱機制的 JavaScript 也在內建類型支援下列方法。
陣列
字串
物件
布林值
編號
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-02-06 (世界標準時間)。
[null,null,["上次更新時間:2024-02-06 (世界標準時間)。"],[[["Sandboxed JavaScript environments support a specific set of methods for built-in types like Array, String, Object, Boolean, and Number, in addition to the global APIs."],["Supported Array methods include common operations such as concat, every, filter, forEach, indexOf, join, map, pop, push, reduce, reverse, slice, sort, splice, and more."],["For Strings, methods like charAt, concat, indexOf, lastIndexOf, match, replace, slice, split, substring, toLowerCase, toUpperCase, and trim are available."],["Object, Boolean, and Number types primarily support the toString method within this sandboxed environment."],["Developers can refer to the provided links for detailed documentation and usage examples of each supported method from Mozilla Developer Network."]]],[]]