This AI is still in early stages of development.
Define.RESERVED
- Aubergine
Owned by Aubergine
A reserved keyword (a native that cannot be changed)...
Notes
A define with state Define.RESERVED indicates a reserved keyword. Reserved keywords include things like global Javascript objects and functions (eg. Math, NaN, Object, parseInt, etc), critical features of the JS API (eg. me) and most of the features of Util API.
Reserved keywords are treated as immutable and cannot be replaced or removed.
Examples
Checking a specific state
Define.stateOf("keys", true); // "Reserved" Define.stateOf("me", true); // "Reserved" Define.stateOf("include", true); // "Native" or "Replaced"
Contents
Jump to:
Define API
Topics:
- Define() — Add, remove or redefine a property on the global scope, overriding any native property of the same name on the global object...
- Define.has() — Check for presence of a global property...
- Define.RESERVED — A reserved keyword (a native that cannot be changed)...
- Define.stateOf() — Check state of a specific global property...
- Define.hasNative() — Check for presence of a native global property...
- Define.REMOVED — Indicates a native global was removed...
- Define.MISSING — Indicates a global is not present (missing).
- Define.NATIVE — Indicates a global was defined prior to including the Define API.
- Define.REPLACED — Indicates a global was replaced by a script using the Define API.
- Define.ADDED — Indicates a global was added by a script using the Define API.
- Define API Diagnostics — Diagnostic routines for Define API...
- Define Scripts — A library of ready made scripts for the Define API...