summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testBug752205.js
blob: edf734855198b9f927c36307e17e08ee3a452283 (plain)
1
2
3
4
5
6
var x = "one";
var y = "two";
const a = x + y;
var hit = false;
eval('switch("onetwo") { case a: hit = true; };');
assertEq(hit, true);