Define function with arrow notation
const sum = (a, b) => a + b;
console.log( sum(2, 3) )
5
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
const sum = (a, b) => a + b;
console.log( sum(2, 3) )
5