JSGlobalRef

object JSGlobalRef
Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

Tests whether the given name is a valid name for a JSGlobalRef.

Tests whether the given name is a valid name for a JSGlobalRef.

A name is valid iff it is a JavaScript identifier name (see isJSIdentifierName) and it is not reserved (see ReservedJSIdentifierNames).

Concrete fields

Set of identifier names that can never be accessed from the global scope.

Set of identifier names that can never be accessed from the global scope.

This set includes and is limited to:

  • All ECMAScript 2015 keywords;
  • Identifier names that are treated as keywords or reserved identifier names in ECMAScript 2015 Strict Mode;
  • The identifier arguments, because any attempt to refer to it always refers to the magical arguments pseudo-array from the enclosing function, rather than a global variable.