mirror of https://github.com/tc39/test262.git
Remove invalid Array.from test
This commit is contained in:
parent
91e1a0b761
commit
da6c9b964c
|
@ -1,13 +0,0 @@
|
|||
// Copyright 2015 Microsoft Corporation. All rights reserved.
|
||||
// This code is governed by the license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
description: Passing array Buffer
|
||||
es6id: 22.1.2.1
|
||||
---*/
|
||||
|
||||
var arrayBuffer = new ArrayBuffer([ 1, 2, 4, 8, 16, 32, 64, 128 ]);
|
||||
var a = Array.from(arrayBuffer);
|
||||
for (var j = 0; j < a.length; j++) {
|
||||
assert.sameValue(a[j], arrayBuffer[j], "Elements mismatch at " + j + ".");
|
||||
}
|
Loading…
Reference in New Issue