object ESVersion
Constants for the value of esVersion
.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ESVersion
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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
val
ES2015: Int(6)
ECMAScript 2015 (6th edition).
-
final
val
ES2016: Int(7)
ECMAScript 2016 (7th edition).
ECMAScript 2016 (7th edition).
Contains the following notable features:
- The
**
operator for numbers async
/await
- The
-
final
val
ES2017: Int(8)
ECMAScript 2017 (8th edition).
ECMAScript 2017 (8th edition).
Contains the following notable features:
- Async functions
- Shared Memory and Atomics (via
SharedArrayBuffer
) Object.values
,Object.entries
, andObject.getOwnPropertyDescriptors
-
final
val
ES2018: Int(9)
ECMAScript 2018 (9th edition).
ECMAScript 2018 (9th edition).
Contains the following notable features:
- Asynchronous iteration via the
AsyncIterator
protocol and async generators - Regular expression features: the dotAll flag
's'
, named capture groups, Unicode property escapes (\p{}
and\P{}
) and look-behind assertions - Rest parameter and spread operator support for object properties
- Asynchronous iteration via the
-
final
val
ES2019: Int(10)
ECMAScript 2019 (10th edition).
ECMAScript 2019 (10th edition).
Contains the following notable features:
- Minor additions to the built-in library functions
-
final
val
ES2020: Int(11)
ECMAScript 2020 (11th edition).
ECMAScript 2020 (11th edition).
Contains the following notable features:
- Dynamic
import()
calls BigInt
globalThis
export * as ns from 'module'
import.meta
- Dynamic
-
final
val
ES2021: Int(12)
ECMAScript 2021 (12th edition).
ECMAScript 2021 (12th edition).
Contains the following notable features:
WeakRef
andFinalizationRegistry
AggregateError
- Separators for numeric literals (e.g.,
1_000
)
-
final
val
ES5_1: Int(5)
ECMAScrîpt 5.1.
-
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
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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( ... )
-
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()