summaryrefslogtreecommitdiff
path: root/test/built-ins/Array/prototype/map/15.4.4.19-6-2.js
blob: 79ed739f8fed548b50a333404d207e099ab07cf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 15.4.4.19-6-2
description: Array.prototype.map - the returned array is instanceof Array
includes: [runTestCase.js]
---*/

function testcase() {

        var newArr = [11].map(function () { });

        return newArr instanceof Array;
    }
runTestCase(testcase);