blob: f62f5d967a514a62649e2217b8b6bef134a16e41 [file] [log] [blame]
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.3.4.3-3-s
description: >
Strict Mode - 'this' value is a boolean which cannot be converted
to wrapper objects when the function is called with an array of
arguments
flags: [onlyStrict]
---*/
function fun() {
return (this instanceof Boolean);
}
assert.sameValue(fun.apply(false, Array), false, 'fun.apply(false, Array)');