Rewrite a JavaScript Function as an Arrow Function

Share this video with your friends

Send Tweet

In this lesson you will learn how to solve a beginner interview question, namely how to rewrite a normal function as an arrow function. We go trough syntactical peculiarities, explicit and implicit return versions of arrow functions and touch the non-syntactical distinguishing features of arrow functions.

press0
press0
~ 5 years ago

nice. How do you make the console log output display on the same line.

Dimitri Ivashchuk
Dimitri Ivashchuk(instructor)
~ 5 years ago

Hey! https://egghead.io/lessons/javascript-create-javascript-scratchpad-with-quokka-js-in-vscode