trait Global extends Object
In browsers, the top-level scope is the global scope. That means that in browsers if you're in the global scope var something will define a global variable. In Node.js this is different. The top-level scope is not the global scope; var something inside an Node.js module will be local to that module.
- Annotations
- @RawJSType() @native() @deprecated
- Deprecated
(Since version 0.9.0) Use io.scalajs.nodejs package object
- Alphabetic
- By Inheritance
- Global
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
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()
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
valueOf(): Any
- Definition Classes
- Object
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
Deprecated Value Members
-
def
clearImmediate: ClearImmediate
- Annotations
- @deprecated
- Deprecated
(Since version 0.9.0) Use io.scalajs.nodejs.clearImmediate
-
def
clearInterval: ClearInterval
- Annotations
- @deprecated
- Deprecated
(Since version 0.9.0) Use io.scalajs.nodejs.clearInterval
-
def
clearTimeout: ClearTimeout
- Annotations
- @deprecated
- Deprecated
(Since version 0.9.0) Use io.scalajs.nodejs.clearTimeout
-
def
console: console_module.Console
- Annotations
- @deprecated
- Deprecated
(Since version 0.9.0) Use io.scalajs.nodejs.console
-
def
exports: UndefOr[Object]
- Annotations
- @deprecated
- Deprecated
(Since version 0.9.0) Use io.scalajs.nodejs.exports
-
def
module: Module
A reference to the current module.
A reference to the current module. In particular module.exports is used for defining what a module exports and makes available through require().
module isn't actually a global but rather local to each module.
- Annotations
- @deprecated
- Deprecated
(Since version 0.9.0) Use io.scalajs.nodejs.module
-
def
process: process.Process
- Annotations
- @deprecated
- Deprecated
(Since version 0.9.0) Use io.scalajs.nodejs.process
-
def
setImmediate: SetImmediate
- Annotations
- @deprecated
- Deprecated
(Since version 0.9.0) Use io.scalajs.nodejs.setImmediate
-
def
setInterval: SetInterval
- Annotations
- @deprecated
- Deprecated
(Since version 0.9.0) Use io.scalajs.nodejs.setInterval
-
def
setTimeout: SetTimeout
- Annotations
- @deprecated
- Deprecated
(Since version 0.9.0) Use io.scalajs.nodejs.setTimeout