المكتبة القياسية
بالإضافة إلى النماذج العالمية الموثَّقة في API، تتيح لغة JavaScript المحدَّدة في "وضع الحماية" الطرق التالية مع الأنواع المضمَّنة.
مصفوفة
سلسلة
الكائن
منطقي
العدد
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 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."]]],["Sandboxed JavaScript extends built-in types with specific methods. Arrays support actions like `concat`, `every`, `filter`, `forEach`, `map`, `join`, `push`, `pop`, `slice`, `sort` and `splice`. Strings enable manipulation via `charAt`, `concat`, `indexOf`, `replace`, `slice`, `split`, `trim`, and case conversion functions. Additionally, Objects, Booleans, and Numbers each have a `toString` method available. These methods enhance data manipulation within the Sandboxed JavaScript environment.\n"]]