We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
let is the new var.
// Block scoping (let) function fn () { let x = 0; if (true) { let x = 1; // only inside this `if` } } // Constants const a = 1;
new Promise(fn) .then(fn) .catch(fn) Promise.all(/*...*/) Promise.race(/*...*/) Promise.reject(/*...*/) Promise.resolve(/*...*/)