Lines Matching refs:Function
28 // Tests the Function.prototype.bind (ES 15.3.4.5) method.
31 function foo(x, y, z) {
65 function f_bound_this(z) {
177 function bar(x, y, z) {
222 bind(Function.prototype, 3);
227 assertFalse(obj3 instanceof Function);
247 function soo(x, y, z) {
270 // and both get and set is the ThrowTypeError function).
284 assertTrue(cdesc.get instanceof Function);
288 assertThrows(function() { return f.caller; }, TypeError);
289 assertThrows(function() { f.caller = 42; }, TypeError);
290 assertThrows(function() { return f.arguments; }, TypeError);
291 assertThrows(function() { f.arguments = 42; }, TypeError);
294 // the caller is strict and the callee isn't. A bound function is built-in,
296 (function foo() { return foo.caller; }).bind()();