blob: cba4d23626942c56b68600c5e25114caead4a965 [file] [log] [blame]
description(
"Tests what happens when you use a function as a variable, and you put things into it that aren't constants."
);
function run_tests(a) {
function x() {
return 3;
}
var x = a;
return x + x;
}
for(var i=0; i<100; ++i)
shouldBe("run_tests(13)", "26");