20 lines
282 B
Plaintext
20 lines
282 B
Plaintext
=== tests/cases/compiler/voidAsOperator.ts ===
|
|
if (!void 0 !== true) {
|
|
>!void 0 !== true : boolean
|
|
>!void 0 : true
|
|
>void 0 : undefined
|
|
>0 : 0
|
|
>true : true
|
|
|
|
}
|
|
|
|
//CHECK#2
|
|
if (!null !== true) {
|
|
>!null !== true : boolean
|
|
>!null : true
|
|
>null : null
|
|
>true : true
|
|
|
|
}
|
|
|