blob: 5f959f045930c1f4399dc291958873cd1aa4c879 [file] [log] [blame]
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.filter
description: Array.prototype.filter - returns an array whose length is 0
---*/
var newArr = [11].filter(function() {});
assert.sameValue(newArr.length, 0, 'newArr.length');