mirror of
https://github.com/tc39/test262.git
synced 2025-05-02 22:10:34 +02:00
Prior to this commit, the descriptors of the function properties of the global object were verified inconsistently, many independent assertions occured in the same file, and that file test was poorly located. Restructure the relevant tests to improve coverage, follow convention, and promote discoverability.
17 lines
564 B
JavaScript
17 lines
564 B
JavaScript
// Copyright (C) 2019 Bocoup. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
esid: sec-parseint-string-radix
|
|
description: Property descriptor for parseInt
|
|
info: |
|
|
Every other data property described in clauses 18 through 26 and in Annex B.2
|
|
has the attributes { [[Writable]]: true, [[Enumerable]]: false,
|
|
[[Configurable]]: true } unless otherwise specified.
|
|
includes: [propertyHelper.js]
|
|
---*/
|
|
|
|
verifyNotEnumerable(this, "parseInt");
|
|
verifyWritable(this, "parseInt");
|
|
verifyConfigurable(this, "parseInt");
|