The back-tick character is not recognized as a Valid Character in IE11 when using the "use strict" directive while it works in other browsers, such as Chrome.
What is the interpretation of this behavior taking into consideration that IE11 is still widely used even among Windows 10 users??
"use strict";
function doIt() {
let tt;
tt = 50;
alert(`${tt}`);
alert("test");
}
doIt();
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…