1 // Copyright (C) 2015 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
6 "length" property of `unicode` accessor function
8 ES6 section 17: Every built-in Function object, including constructors, has
9 a length property whose value is an integer. Unless otherwise specified,
10 this value is equal to the largest number of named arguments shown in the
11 subclause headings for the function description, including optional
16 Unless otherwise specified, the length property of a built-in Function
17 object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
18 [[Configurable]]: true }.
19 includes: [propertyHelper.js]
22 var getter = Object.getOwnPropertyDescriptor(RegExp.prototype, 'unicode').get;
24 verifyProperty(getter, "length", {