27
loading...
This website collects cookies to deliver better user experience
pow(2,53)-1
. n
at the end of the integer.n
denotes that this is a BigInt and should be treated differently.??
.0
, undefined
, null
, false
, NaN
, and so on.undefined
.*
. However, there was no symmetrical export syntax.window
for browsers, global
for node, self
for web workers.BigInt - play with very large integers, make sure you append n
at the end of the integer.
Dynamic Import - import files conditionally.
Nullish Coalescing - Check for nullish values rather than falsey values.
Optional Chaining - check for deep nested objects without worrying about undefined values.
Module Namespace Exports - export everything using the * symbol
globalThis - considered global object no matter where you code.