summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug657225.js
blob: 510b7685150b0cfb7d0a07e5c4c6ba9a3c5100f7 (plain)
1
2
3
4
5
6
7
8
9
function reportCompare(expected, actual, description) { return  + ++actual + "'"; }
var summary = 'Object.prototype.toLocaleString() should track Object.prototype.toString() ';
var o = {
    toString: function () {}
};
expect = o;
actual = o.toLocaleString();
reportCompare(expect, actual, summary);