(info) This AI is still in early stages of development.

Define.RESERVED

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"
Availability STABLE

Requires:

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 API DiagnosticsDiagnostic routines for Define API...
  • Define ScriptsA library of ready made scripts for the Define API...