JS
challenger
Home
JavaScript Basics
arrays
Access an array element
Access an array element
In the code below we try the access the first element of the array. But, we introduced a slight mistake. Fix the mistake and run the code.
Premium
reset
function greet(name) { return `Hello, ${name}!`; } console.log(greet("Erik"));
JavaScript
Run Code
Console