9 lines
366 B
JavaScript
9 lines
366 B
JavaScript
|
//// [templateStringInEqualityChecks.ts]
|
||
|
var x = `abc${0}abc` === `abc` ||
|
||
|
`abc` !== `abc${0}abc` &&
|
||
|
`abc${0}abc` == "abc0abc" &&
|
||
|
"abc0abc" !== `abc${0}abc`;
|
||
|
|
||
|
//// [templateStringInEqualityChecks.js]
|
||
|
var x = "abc" + 0 + "abc" === "abc" || "abc" !== "abc" + 0 + "abc" && "abc" + 0 + "abc" == "abc0abc" && "abc0abc" !== "abc" + 0 + "abc";
|