11 lines
389 B
TypeScript
11 lines
389 B
TypeScript
//// [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";
|