blob: ded81c8a4378149e2d1f22732260f2b0c307765b [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.every
es5id: 15.4.4.16-4-12
description: Array.prototype.every - 'callbackfn' is a function
---*/
function callbackfn(val, idx, obj) {
return val > 10;
}
assert.sameValue([11, 9].every(callbackfn), false, '[11, 9].every(callbackfn)');