blob: daeed835d024ca74d8bb54c7ae20d99f12d39f08 [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-1-s
description: >
Strict Mode - 'this' value is a string which cannot be converted
to wrapper objects when the function is called with an array of
arguments
flags: [onlyStrict]
---*/
function fun() {
return (this instanceof String);
}
assert.sameValue(fun.apply("", Array), false, 'fun.apply("", Array)');