Put in order · JavaScript and TypeScript course · Module 2: Functions, Arrays and Objects
Arrow Function Syntax
Arrange the elements of an arrow function declaration:
Items to put in order
- = ()
- 'ROAR!'
- =>
- const roar
Show the answer
Correct order:
- const roar
- = ()
- =>
- 'ROAR!'