diff --git a/index.js b/index.js index cbe723627..7e624ef12 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}.`; diff --git a/test/index-test.js b/test/index-test.js index de7bc3226..37a3fdaa4 100644 --- a/test/index-test.js +++ b/test/index-test.js @@ -11,3 +11,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}.`) }) +