blob: 30e5779d5362c864e0534324ba0e27676c4a19c7 [file] [log] [blame]
/*
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/licenses/publicdomain/
*/
var s = "grape";
function f() { "use strict"; return this; }
var p = Proxy.createFunction(f, f);
String.prototype.p = p;
assertEq(s.p(), "grape");
reportCompare(true,true);