Two of the four string interpolation syntaxes are deprecated, and they are the two that are ambiguous to read. The dollar-brace form is the one that makes a…
The attribute opts a class out of the deprecation, which is occasionally correct and is usually a way of deferring a rename. Inheritance of the attribute is the…
Negative indexing on arrays and strings, which every other language has had and JavaScript expressed as an arithmetic expression. The bracket form silently returning undefined is why this…
obj.hasOwnProperty(k) fails on an object created with a null prototype and can be shadowed by a property called hasOwnProperty. The shadowing case arrives from parsed JSON, which is…