Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Array/from/source-object-constructor.js

raw
1 // Copyright 2015 Microsoft Corporation. All rights reserved.
2 // This code is governed by the license found in the LICENSE file.
3
4 /*---
5 description: >
6 Array.from uses a constructor other than Array.
7 esid: sec-array.from
8 es6id: 22.1.2.1
9 ---*/
10
11 assert.sameValue(Array.from.call(Object, []).constructor, Object);