18 lines
718 B
Plaintext
18 lines
718 B
Plaintext
|
=== tests/cases/conformance/es6/templates/templateStringInEqualityChecksES6.ts ===
|
||
|
var x = `abc${0}abc` === `abc` ||
|
||
|
>x : boolean
|
||
|
>`abc${0}abc` === `abc` || `abc` !== `abc${0}abc` && `abc${0}abc` == "abc0abc" && "abc0abc" !== `abc${0}abc` : boolean
|
||
|
>`abc${0}abc` === `abc` : boolean
|
||
|
|
||
|
`abc` !== `abc${0}abc` &&
|
||
|
>`abc` !== `abc${0}abc` && `abc${0}abc` == "abc0abc" && "abc0abc" !== `abc${0}abc` : boolean
|
||
|
>`abc` !== `abc${0}abc` && `abc${0}abc` == "abc0abc" : boolean
|
||
|
>`abc` !== `abc${0}abc` : boolean
|
||
|
|
||
|
`abc${0}abc` == "abc0abc" &&
|
||
|
>`abc${0}abc` == "abc0abc" : boolean
|
||
|
|
||
|
"abc0abc" !== `abc${0}abc`;
|
||
|
>"abc0abc" !== `abc${0}abc` : boolean
|
||
|
|