summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug657225.js
blob: 40f0dbf962ca86dabc6c3ac473dd30c4385fc44c (plain)
1
2
3
4
5
6
7
8
9

function reportCompare(expected, actual, description) + ++actual + "'";
var summary = 'Object.prototype.toLocaleString() should track Object.prototype.toString() ';
var o = {
    toString: function () {}
};
expect = o;
actual = o.toLocaleString();
reportCompare(expect, actual, summary);