diff options
Diffstat (limited to 'test/built-ins/TypedArray/prototype/includes')
-rw-r--r-- | test/built-ins/TypedArray/prototype/includes/get-length-uses-internal-arraylength.js | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/test/built-ins/TypedArray/prototype/includes/get-length-uses-internal-arraylength.js b/test/built-ins/TypedArray/prototype/includes/get-length-uses-internal-arraylength.js index 8f317131a..eb10a80bd 100644 --- a/test/built-ins/TypedArray/prototype/includes/get-length-uses-internal-arraylength.js +++ b/test/built-ins/TypedArray/prototype/includes/get-length-uses-internal-arraylength.js @@ -21,19 +21,13 @@ includes: [testTypedArray.js] features: [TypedArray] ---*/ -Object.defineProperty(TypedArray.prototype, "length", { - value: 0 -}); +Object.defineProperty(TypedArray.prototype, "length", {value: 0}); testWithTypedArrayConstructors(function(TA) { var sample = new TA([7]); - Object.defineProperty(TA.prototype, "length", { - value: 0 - }); - Object.defineProperty(sample, "length", { - value: 0 - }); + Object.defineProperty(TA.prototype, "length", {value: 0}); + Object.defineProperty(sample, "length", {value: 0}); assert.sameValue(sample.includes(7), true); }); |