mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
21 lines
821 B
Plaintext
21 lines
821 B
Plaintext
//// [tests/cases/conformance/es7/exponentiationOperator/exponentiationOperatorWithOnlyNullValueOrUndefinedValue.ts] ////
|
|
|
|
=== exponentiationOperatorWithOnlyNullValueOrUndefinedValue.ts ===
|
|
// operator **
|
|
var r1 = null ** null;
|
|
>r1 : Symbol(r1, Decl(exponentiationOperatorWithOnlyNullValueOrUndefinedValue.ts, 1, 3))
|
|
|
|
var r2 = null ** undefined;
|
|
>r2 : Symbol(r2, Decl(exponentiationOperatorWithOnlyNullValueOrUndefinedValue.ts, 2, 3))
|
|
>undefined : Symbol(undefined)
|
|
|
|
var r3 = undefined ** null;
|
|
>r3 : Symbol(r3, Decl(exponentiationOperatorWithOnlyNullValueOrUndefinedValue.ts, 3, 3))
|
|
>undefined : Symbol(undefined)
|
|
|
|
var r4 = undefined ** undefined;
|
|
>r4 : Symbol(r4, Decl(exponentiationOperatorWithOnlyNullValueOrUndefinedValue.ts, 4, 3))
|
|
>undefined : Symbol(undefined)
|
|
>undefined : Symbol(undefined)
|
|
|