summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/from/source-object-missing.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Array/from/source-object-missing.js')
-rw-r--r--test/built-ins/Array/from/source-object-missing.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/built-ins/Array/from/source-object-missing.js b/test/built-ins/Array/from/source-object-missing.js
index ad5a6055d..3c55030da 100644
--- a/test/built-ins/Array/from/source-object-missing.js
+++ b/test/built-ins/Array/from/source-object-missing.js
@@ -9,14 +9,14 @@ es6id: 22.1.2.1
var array = [2, 4, , 16];
var obj = {
- length: 4,
- 0: 2,
- 1: 4,
- 3: 16
+ length: 4,
+ 0: 2,
+ 1: 4,
+ 3: 16
};
var a = Array.from.call(Object, obj);
assert.sameValue(typeof a, "object", "The returned type is expected to be object.");
for (var j = 0; j < a.length; j++) {
- assert.sameValue(a[j], array[j], "Elements mismatch at " + j + ".");
+ assert.sameValue(a[j], array[j], "Elements mismatch at " + j + ".");
}