{"size": 1086, "ext": "js", "max_stars_repo_path": "js-test-suite/testsuite/3a942c145963b0e2c39cb7510ee95f5c.js", "max_stars_repo_name": "hao-wang/Montage", "max_stars_repo_stars_event_min_datetime": "2020-03-23T12:53:10.000Z", "max_stars_repo_stars_event_max_datetime": "2021-10-11T02:31:50.000Z", "max_issues_repo_path": "js-test-suite/testsuite/3a942c145963b0e2c39cb7510ee95f5c.js", "max_issues_repo_name": "hao-wang/Montage", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "js-test-suite/testsuite/3a942c145963b0e2c39cb7510ee95f5c.js", "max_forks_repo_name": "hao-wang/Montage", "max_forks_repo_forks_event_min_datetime": "2020-08-17T14:06:59.000Z", "max_forks_repo_forks_event_max_datetime": "2020-08-17T14:06:59.000Z"}
{"max_stars_count": 16, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 23.6086956522, "max_line_length": 70, "alphanum_fraction": 0.6786372007}
load("bf4b12814bc95f34eeb130127d8438ab.js");
load("93fae755edd261212639eed30afa2ca4.js");
load("9943750f07ea537be5f5aa14a5f7b1b7.js");
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 15.2.3.7-6-a-267
description: >
    Object.defineProperties - 'O' is an Array, 'P' is generic
    property, and 'desc' is accessor descriptor, test 'P' is defined
    in 'O' with all correct attribute values (15.4.5.1 step 5)
includes: [propertyHelper.js]
---*/


var arr = [];

function get_fun() {
    return 12;
}
function set_fun(value) {
    arr.setVerifyHelpProp = value;
}

Object.defineProperties(arr, {
    "property": {
        get: get_fun,
        set: set_fun,
        enumerable: true,
        configurable: true
    }
});
verifyEqualTo(arr, "property", get_fun());

verifyWritable(arr, "property", "setVerifyHelpProp");

verifyEnumerable(arr, "property");

verifyConfigurable(arr, "property");

if (arr.length !== 0) {
    $ERROR('Expected arr.length === 0, actually ' + arr.length);
}

