'use strict'; // 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)'); reportCompare(0, 0);