Category "ecmascript-5"

How to use ${text} interpolation from a variable in Angular?

This question is about ts inline text interpolation in Angular (not template interpolation for the HTML files). I couldn't find relevant information about my qu

Why are Octal numeric literals not allowed in strict mode (and what is the workaround?)

Why are Octal numeric literals not allowed in JavaScript strict mode? What is the harm? "use strict"; var x = 010; //Uncaught SyntaxError: Octal literals