summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/extensions/regress-645160.js
blob: 933d3e261421f0f9723b107f1286f8fec1c0deda (plain)
1
2
3
4
5
6
7
8
// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/licenses/publicdomain/

function potatoMasher(obj, arg) { this.eval(arg); }
potatoMasher(this, "var s = Error().stack");
assertEq(/potatoMasher/.exec(s) instanceof Array, true);

reportCompare(0, 0, 'ok');