[BigInt] typeof

This commit is contained in:
Robin Templeton 2017-10-16 12:56:49 -04:00
parent 5d4c667b27
commit 11cd9e4c34
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
// Copyright (C) 2017 Robin Templeton. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-typeof-operator-runtime-semantics-evaluation
description: typeof of BigInt and BigInt object
info: >
The typeof Operator
Runtime Semantics: Evaluation
features: [BigInt]
---*/
assert.sameValue(typeof 0n, "bigint");
assert.sameValue(typeof Object(0n), "object");