JS
challenger
Home
JavaScript Basics
strings
Form a Simple Sentence
Form a Simple Sentence
Given three string variables subject, verb, and object, concatenate them together with spaces to form a sentence. Store the result in a variable called sentence.
Premium
reset
function greet(name) { return `Hello, ${name}!`; } console.log(greet("Erik"));
JavaScript
Run Code
Console