From d5909dca6ee55ac45580223121e2d7c7757f8cec Mon Sep 17 00:00:00 2001 From: Jordan Carroll Date: Tue, 6 Oct 2020 03:09:15 +0000 Subject: [PATCH] Done. --- index.js | 6 +++--- test/index-test.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index cbe723627..f2c805dea 100644 --- a/index.js +++ b/index.js @@ -1,9 +1,9 @@ -var greeting = ""; +var greeting = "Hello, everybody!"; var specialGuest = "Neil deGrasse Tyson" -var greetSpecialGuest = "" + specialGuest + "!"; +var greetSpecialGuest = "Hello, " + specialGuest + "!"; var topic = "space"; -var conversation = `${topic}`; +var conversation = `Let's talk about ${topic}.`; \ No newline at end of file diff --git a/test/index-test.js b/test/index-test.js index de7bc3226..04c9988ce 100644 --- a/test/index-test.js +++ b/test/index-test.js @@ -10,4 +10,4 @@ it('concatenates strings to greet a special guest in `greetSpecialGuest`', funct it('interpolates a string in `conversation`', function() { expect(conversation).toEqual(`Let's talk about ${topic}.`) -}) +}) \ No newline at end of file