description("Tests that DFG NewArrayBuffer works when having a bad time."); | |
Array.prototype.__defineSetter__("100", function() { debug("Ouch!"); }); | |
function foo() { return ["foo", 42, 23.5]; } | |
dfgShouldBe(foo, "foo()[0]", "\"foo\""); | |
dfgShouldBe(foo, "foo()[1]", "42"); | |
dfgShouldBe(foo, "foo()[2]", "23.5"); | |