I must say, the string interpolation you are using, is really dangerous, if used in production.
Alexander Kosenkov

Fair point.

Bear in mind, these tutorials are aimed toward designers who are using Javascript for prototyping. I’d venture to say that the production use-case sits fairly low on their list of priorities.