haikuwebkit/LayoutTests/js/script-tests/dfg-make-rope-all-empty-str...

16 lines
240 B
JavaScript

description(
"Check that the DFG can handle MakeRope or ValueAdd on all empty strings."
);
function foo(a, b) {
return a + b;
}
function bar() {
return foo("", "");
}
for (var i = 0; i < 100; ++i)
shouldBe("bar()", "\"\"");