Home | History | Annotate | Download | only in webkit

Lines Matching refs:hole

30     // Check if we can see through the hole into another room.
44 string += "hole";
76 shouldBe("var a = []; a.length = 1; showHoles(a)", "'[hole]'");
78 shouldBe("var a = []; a[0] = undefined; delete a[0]; showHoles(a)", "'[hole]'");
80 shouldBe("showHoles([0, , 2])", "'[0, hole, 2]'");
81 shouldBe("showHoles([0, 1, ,])", "'[0, 1, hole]'");
82 shouldBe("showHoles([0, , 2].concat([3, , 5]))", "'[0, hole, 2, 3, hole, 5]'");
83 shouldBe("showHoles([0, , 2, 3].reverse())", "'[3, 2, hole, 0]'");
84 shouldBe("a = [0, , 2, 3]; a.shift(); showHoles(a)", "'[hole, 2, 3]'");
85 shouldBe("showHoles([0, , 2, 3].slice(0, 3))", "'[0, hole, 2]'");
86 shouldBe("showHoles([0, , 2, 3].sort())", "'[0, 2, 3, hole]'");
88 shouldBe("a = [0, , 2, 3]; a.splice(2, 3, 5, 6); showHoles(a)", "'[0, hole, 5, 6]'");
89 shouldBe("a = [0, , 2, 3]; a.unshift(4); showHoles(a)", "'[4, 0, hole, 2, 3]'");
92 shouldBe("showHoles([0, , 2, 3].map(returnTrue))", "'[true, hole, true, true]'");
107 shouldBe("showHoles([0, , 2])", "'[0, hole, 2]'");
108 shouldBe("showHoles([0, 1, ,])", "'[0, 1, hole]'");
113 shouldBe("showHoles([0, , 2, 3].sort())", "'[0, 2, 3, hole]'");
115 shouldBe("a = [0, , 2, 3]; a.splice(2, 3, 5, 6); showHoles(a)", "'[0, hole, 5, 6]'");