Home | History | Annotate | Download | only in Function

Lines Matching refs:apply

38 * SUMMARY: ECMA conformance of Function.prototype.apply
40 * Function.prototype.apply(thisArg, argArray)
47 var summary = 'Testing ECMA conformance of Function.prototype.apply';
74 * Function.prototype.apply.length should return 2
77 actual = Function.prototype.apply.length;
83 * When |thisArg| is not provided to the apply() method, the
87 actual = F0.apply();
93 * If |argArray| is not provided to the apply() method, the
97 actual = F0.apply("");
102 actual = F0.apply(true);
108 * Function.prototype.apply(x) and
109 * Function.prototype.apply(x, undefined) should return the same result
112 actual = F1.apply(0, undefined);
113 expect = F1.apply(0);
117 actual = F1.apply("", undefined);
118 expect = F1.apply("");
122 actual = F1.apply(null, undefined);
123 expect = F1.apply(null);
127 actual = F1.apply(undefined, undefined);
128 expect = F1.apply(undefined);
133 * Function.prototype.apply(x) and
134 * Function.prototype.apply(x, null) should return the same result
137 actual = F1.apply(0, null);
138 expect = F1.apply(0);
142 actual = F1.apply("", null);
143 expect = F1.apply("");
147 actual = F1.apply(null, null);
148 expect = F1.apply(null);
152 actual = F1.apply(undefined, null);
153 expect = F1.apply(undefined);
158 * Function.prototype.apply() and
159 * Function.prototype.apply(undefined) should return the same result
162 actual = F2.apply(undefined);
163 expect = F2.apply();
168 * Function.prototype.apply() and
169 * Function.prototype.apply(null) should return the same result
172 actual = F2.apply(null);
173 expect = F2.apply();