Skip to content

Commit 38f1029

Browse files
authoredAug 29, 2016
Merge pull request #22 from dhumilz/dhumilz-1472249097
Javascript with Interpolation missing semicolon ";" running code without it gives console error "Uncaught TypeError: "Neil deGrasse Tyson" is not a function(..)
2 parents 1443613 + 80a26f1 commit 38f1029

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Alternatively, you can press `ctrl + L` or `command + K`. As long as you don't r
6363
When we wrap strings in back ticks, we can use placeholders (`${}`) and insert variables or evaluated JavaScript directly:
6464

6565
``` javascript
66-
var specialGuest = "Neil deGrasse Tyson"
66+
var specialGuest = "Neil deGrasse Tyson";
6767

6868
`Hello, ${specialGuest}! High ${3 + 2}!` // "Hello, Neil deGrasse Tyson! High 5!"
6969
```

0 commit comments

Comments
 (0)
Failed to load comments.