Skip to content

Commit

Permalink
Merge pull request #1280 from cxielarko/bigint-typeof
Browse files Browse the repository at this point in the history
typeof test for BigInt
  • Loading branch information
rwaldron authored Oct 16, 2017
2 parents 5b721a2 + 11cd9e4 commit 3c5c0ed
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/language/expressions/typeof/bigint.js
Original file line number Diff line number Diff line change
@@ -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");

0 comments on commit 3c5c0ed

Please sign in to comment.