summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1177907.js
blob: 11bf47fe5c6128e02a52cfbcdfd5afa528032a3f (plain)
1
2
3
4
// |jit-test| error: TypeError

var Date_toString = newGlobal().Date.prototype.toString;
(function f(){ f(Date_toString.call({})); })();