From cb84893f9387af82c542bf6848b71f7260ab075c Mon Sep 17 00:00:00 2001 From: Daniel Ehrenberg <littledan@chromium.org> Date: Thu, 21 Dec 2017 21:09:46 +0100 Subject: [PATCH] Add a test that BigInt does not have a parseInt function --- test/built-ins/BigInt/parseInt/nonexistent.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/built-ins/BigInt/parseInt/nonexistent.js diff --git a/test/built-ins/BigInt/parseInt/nonexistent.js b/test/built-ins/BigInt/parseInt/nonexistent.js new file mode 100644 index 0000000000..739dcfbf86 --- /dev/null +++ b/test/built-ins/BigInt/parseInt/nonexistent.js @@ -0,0 +1,9 @@ +// Copyright (C) 2017 Igalia, S.L. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +description: BigInt does not have a static parseInt function +features: [BigInt] +---*/ + +assert(!BigInt.hasOwnProperty("parseInt")); -- GitLab