Saxonberg Server API
    Preparing search index...
    Index

    Constructors

    Methods

    • Resolve name walking outward from this frame. Returns the bound value or undefined when unbound anywhere in the chain. Note that a binding whose value is undefined (void) is indistinguishable from absence by this accessor — use has to disambiguate.

      Recursive over the lexical chain (rather than a this-aliasing loop); chains are shallow — one frame per nesting level.

      Parameters

      • name: string

      Returns ScriptValue

    • Assign name. Writes to the nearest existing binding up the chain; if name is unbound everywhere, creates it in this frame. This is set name (...) semantics — assignment, not declaration.

      Parameters

      Returns void