Short Functions: Arrows
Professional JavaScript is full of little arrow functions — a shorter way to write the same thing, especially when passing a function to another function.
What you'll learn
Write arrow functions and pass one as an argument.
New command
const spinTwice = (name) => { … }💻 Code Editorjs
🎬
Press Run Code to see your creation!