Home | History | Annotate | Download | only in mjsunit

Lines Matching defs:f1

32 function f1(a) {
52 assertEquals(void 0, f1.apply(), "1-1");
54 assertEquals(void 0, f1.apply(this), "5a");
55 assertEquals(void 0, f1.apply(this, new Array(1)), "5b");
56 assertEquals(void 0, f1.apply(this, new Array(2)), "5c");
57 assertEquals(void 0, f1.apply(this, new Array(4242)), "5d");
58 assertEquals(42, f1.apply(this, new Array(42, 43)), "5e");
59 assertEquals("foo", f1.apply(this, new Array("foo", "bar", "baz", "bo")), "5f");
61 assertEquals(void 0, f1.apply(null), "6a");
62 assertEquals(void 0, f1.apply(null, new Array(1)), "6b");
63 assertEquals(void 0, f1.apply(null, new Array(2)), "6c");
64 assertEquals(void 0, f1.apply(null, new Array(4242)), "6d");
65 assertEquals(42, f1.apply(null, new Array(42, 43)), "6e");
66 assertEquals("foo", f1.apply(null, new Array("foo", "bar", "baz", "bo")), "6f");
68 assertEquals(void 0, f1.apply(void 0), "7a");
69 assertEquals(void 0, f1.apply(void 0, new Array(1)), "7b");
70 assertEquals(void 0, f1.apply(void 0, new Array(2)), "7c");
71 assertEquals(void 0, f1.apply(void 0, new Array(4242)), "7d");
72 assertEquals(42, f1.apply(void 0, new Array(42, 43)), "7e");
73 assertEquals("foo", f1.apply(void 0, new Array("foo", "bar", "ba", "b")), "7f");
197 assertEquals(void 0, f1.apply(this, { length:1 }), "non-array-3");
198 assertEquals(void 0, f1.apply(this, { 0:"foo" }), "non-array-4");
199 assertEquals("foo", f1.apply(this, { length:1, 0:"foo" }), "non-array-5");