Arrow functions

Run Settings
LanguageJavaScript
Language Version
Run Command
function test() { console.log("1..2..3.."); } test(); setTimeout(() => { console.log("1,,2,,3,,"); }, 1000); // declaring variable to annonymous function and later use it inthe code. const test1 = () => { console.log("1,,2,,3,,"); } test1(); // array map function in es6 let points = [22,32,42]; points = points.map(element => element + 1); console.log(points) // length of the string let point = ["test", "tes"]; point = point.map(({length}) => length); console.log(point)
Editor Settings
Theme
Key bindings
Full width
Lines