object JSGlobalRef extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JSGlobalRef
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final val ReservedJSIdentifierNames: Set[String]
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 magicalarguments
pseudo-array from the enclosing function, rather than a global variable.
This set does *not* contain
await
, although it is a reserved word within ES modules. It used to be allowed before 1.11.0, and even browsers do not seem to reject it. For compatibility reasons, we only warn about it at compile time, but the IR allows it. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isValidJSGlobalRefName(name: String): Boolean
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).
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()