js/src/tests/ecma_5/extensions/proxy-strict.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:e7d334e72a0b
1 /*
2 * Any copyright is dedicated to the Public Domain.
3 * http://creativecommons.org/licenses/publicdomain/
4 */
5
6 var s = "grape";
7 function f() { "use strict"; return this; }
8 var p = Proxy.createFunction(f, f);
9 String.prototype.p = p;
10 assertEq(s.p(), "grape");
11
12 reportCompare(true,true);

mercurial