Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

JavaScript up to ES5 doesn't support string interpolation at all. ES6 introduces backticks `before${var}after` for that, but there's still no functional difference between single and double quotes.


Interesting they chose that, considering it's deprecated in bash and python.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: