Promises & async

Run Settings
LanguageJavaScript
Language Version
Run Command
const first = new Promise((res, rej) => { res(123); rej(new Error('Error')); }); first.then(value => { console.log(value); }).catch(error => { console.log(error); });
Editor Settings
Theme
Key bindings
Full width
Lines