• Home
  • Raw
  • Download

Lines Matching refs:A

59 function A(key) {  class
64 assertEquals(0, A(0));
65 assertEquals(0, A(0,1));
66 assertEquals(2, A(1,2));
67 assertEquals(2, A(1,2,3,4,5));
68 assertEquals(5, A(4,2,3,4,5));
69 assertTrue(typeof A(1) == 'undefined');
70 assertTrue(typeof A(3,2,1) == 'undefined');
74 assertTrue(typeof(A(-10000)) == 'undefined');
75 assertTrue(typeof(A(-10000, 0)) == 'undefined');
76 assertTrue(typeof(A(-1)) == 'undefined');
77 assertTrue(typeof(A(-1, 0)) == 'undefined');
78 assertTrue(typeof(A(10000)) == 'undefined');
79 assertTrue(typeof(A(10000, 0)) == 'undefined');
82 assertEquals('0', A('0'));
83 assertEquals('0', A('0',1));
84 assertEquals(2, A('1',2));
85 assertEquals(2, A('1',2,3,4,5));
86 assertEquals(5, A('4',2,3,4,5));
87 assertEquals('undefined', typeof A('1'));
88 assertEquals('undefined', typeof A('3',2,1));
89 assertEquals(A, A('callee'));
90 assertEquals(1, A('length'));
91 assertEquals(2, A('length',2));
92 assertEquals(5, A('length',2,3,4,5));
93 assertEquals({}.toString, A('toString'));
94 assertEquals({}.isPrototypeOf, A('isPrototypeOf'));
95 assertEquals('undefined', typeof A('xxx'));
103 assertSame(O0, A(O0));
104 assertSame(O0, A(O0,1));
105 assertEquals(2, A(O(1),2));
106 assertEquals(2, A(O(1),2,3,4,5));
107 assertEquals(5, A(O(4),2,3,4,5));
108 assertTrue(typeof A(O(1)) == 'undefined');
109 assertTrue(typeof A(O(3),2,1) == 'undefined');
112 assertSame(O0, A(O0));
113 assertSame(O0, A(O0,1));
114 assertEquals(2, A(O('1'),2));
115 assertEquals(2, A(O('1'),2,3,4,5));
116 assertEquals(5, A(O('4'),2,3,4,5));
117 assertTrue(typeof A(O('1')) == 'undefined');
118 assertTrue(typeof A(O('3'),2,1) == 'undefined');
119 assertEquals(A, A(O('callee')));
120 assertEquals(1, A(O('length')));
121 assertEquals(2, A(O('length'),2));
122 assertEquals(5, A(O('length'),2,3,4,5));
123 assertEquals({}.toString, A(O('toString')));
124 assertEquals({}.isPrototypeOf, A(O('isPrototypeOf')));
125 assertTrue(typeof A(O('xxx')) == 'undefined');
130 assertEquals(42, A(5));
132 assertEquals(87, A(-5));