scrimba
Frontend Career Path
Essential JavaScript concepts
JS Mini Projects
Arrow Functions Challenge
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

AboutCommentsNotes
Arrow Functions Challenge
Expand for more info
index.js
run
preview
console
function speedWarning(speed){
return `You are going at ${speed} mph!`
}

console.log(speedWarning(40))

/*
Challenge
1. Refactor this function to use an arrow function.
2. Make sure you write the least code possible.
*/
Console
"You are going at 40 mph!"
,
/index.html
-4:00