ES2015 Issue with Template Literal Object > string substitution #1406
Labels
bug
Issues considered a bug
Ecma Incompatibility
Issues about Rhino being incompatible with the EcmaScript spec
good first issue
Great place to start if you're looking to start an open source "resume"
Milestone
This test fails, as Template Literal uses the Token.ADD operation to stringify
o
, whereas it should be using the ToString operations (see last alinea of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals and https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String#string_coercion)The code that makes it use the ADD operation is located at
rhino/src/org/mozilla/javascript/IRFactory.java
Line 1061 in 05ab4ff
The text was updated successfully, but these errors were encountered: