diff options
Diffstat (limited to 'test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-18.js')
-rw-r--r-- | test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-18.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-18.js b/test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-18.js index 41742e981..55f64f688 100644 --- a/test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-18.js +++ b/test/built-ins/Array/prototype/some/15.4.4.17-7-c-i-18.js @@ -9,18 +9,18 @@ description: > property without a get function on an Array ---*/ - function callbackfn(val, idx, obj) { - if (idx === 0) { - return typeof val === "undefined"; - } - return false; - } +function callbackfn(val, idx, obj) { + if (idx === 0) { + return typeof val === "undefined"; + } + return false; +} - var arr = []; +var arr = []; - Object.defineProperty(arr, "0", { - set: function () { }, - configurable: true - }); +Object.defineProperty(arr, "0", { + set: function() {}, + configurable: true +}); assert(arr.some(callbackfn), 'arr.some(callbackfn) !== true'); |