JS
challenger
Home
JavaScript Basics
functions I
Function calling
Function calling
In the code below, there's a small mistake when calling the function func. Can you spot it? Run the code to see if
'hello world'
is logged correctly.
Premium
reset
function greet(name) { return `Hello, ${name}!`; } console.log(greet("Erik"));
JavaScript
Run Code
Console