JS
challenger
Home
JavaScript Basics
scope
Sum global and local variable
Sum global and local variable
Adjust the code so that
result
is the sum of
x
and the block version of
y
.
Premium
reset
function greet(name) { return `Hello, ${name}!`; } console.log(greet("Erik"));
JavaScript
Run Code
Console