Loading lesson path
Concept visual
Start at both ends
Stores values too big to store in a JavaScript number
Searchs for all occurrences of a string in a string Promise.allSettled() Takes promises as input and returns a single promise
Refers to the global object independent of code environment import.metaReturns an object indicating the base URL of a module
Export a full namespace from a module without having to import it first
?? Nullish coalescing returns the first argument not nullish ?. Optional chaining returns undefined if an object is undefined or null &&= Logical AND assignment assigns the second value if the first value is true ||= Logical OR assignment assigns the second value if the first value is false ??= Nullish coalescing assignment assigns the second value if the first value is undefined or null
ECMAScript 2020 is supported in all modern browsers since April 2021.
80
80
80
14.1
67
BigInt variables are used to store big integer values that are too big to be represented by a a normal JavaScript Number. JavaScript integers are only accurate up to about 15 digits.
let x = 999999999999999;
let y = 9999999999999999; // too big