2014-10-23 00:48:22 +02:00
|
|
|
//// [templateStringInEqualityChecks.ts]
|
|
|
|
var x = `abc${0}abc` === `abc` ||
|
|
|
|
`abc` !== `abc${0}abc` &&
|
|
|
|
`abc${0}abc` == "abc0abc" &&
|
|
|
|
"abc0abc" !== `abc${0}abc`;
|
|
|
|
|
|
|
|
//// [templateStringInEqualityChecks.js]
|
2015-02-21 06:53:44 +01:00
|
|
|
var x = "abc" + 0 + "abc" === "abc" ||
|
|
|
|
"abc" !== "abc" + 0 + "abc" &&
|
|
|
|
"abc" + 0 + "abc" == "abc0abc" &&
|
|
|
|
"abc0abc" !== "abc" + 0 + "abc";
|