summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/class/bug1567579.js
blob: 240279ceda9bc31a5dfed2966c29a60547314469 (plain)
1
2
3
4
var res = "class { constructor() {} }";
var test = eval("(" + res + ").toString()");

assertEq(test, res);