From 11cd9e4c343db99a3422d5e3fe5e43f9e18f8a52 Mon Sep 17 00:00:00 2001 From: Robin Templeton Date: Mon, 16 Oct 2017 12:56:49 -0400 Subject: [PATCH] [BigInt] typeof --- test/language/expressions/typeof/bigint.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/language/expressions/typeof/bigint.js diff --git a/test/language/expressions/typeof/bigint.js b/test/language/expressions/typeof/bigint.js new file mode 100644 index 0000000000..4bf70988e0 --- /dev/null +++ b/test/language/expressions/typeof/bigint.js @@ -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");