Skip to content

Commit d3c778f

Browse files
committed
Update greeting message to include name in greeting.js
1 parent 02c297f commit d3c778f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎prep/greeting.js‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
const greeting = "Hello there!";
2-
console.log(greeting);
1+
const greeting = "Hello there";
2+
const name = "Mr Moses";
3+
console.log(`${greeting}, ${name}!`);

0 commit comments

Comments
 (0)