JS
challenger
Home
JavaScript Basics
functions I
Function expression
Function expression
In the code below, we introduced a small mistake when calling the function
func
. Find the mistake and run the code to see if the words
hello world
are correctly logged.
Premium
reset
function greet(name) { return `Hello, ${name}!`; } console.log(greet("Erik"));
JavaScript
Run Code
Console