Comment on ES6 in Depth: DestructuringparentComments−chrisdevereux11yFinally, note that all the new enhancements have come without breaking backward compatibility.Doesn't string interpolation break from ES5?"${foo}" means something different in 6 vs 5, right?−jeswin11yTemplate strings (https://developer.mozilla.org/en/docs/Web/JavaScript/Referen...) use backticks, instead of double/single quotes. let a = `${foo}`; //Template string var b = "${foo}"; //same as in 5.−chrisdevereux11yI stand corrected. Thanks.
Comments
Doesn't string interpolation break from ES5?
"${foo}" means something different in 6 vs 5, right?
Template strings (https://developer.mozilla.org/en/docs/Web/JavaScript/Referen...) use backticks, instead of double/single quotes.
I stand corrected. Thanks.