Home | History | Annotate | Download | only in mjsunit

Lines Matching refs:function

32 function get_y() { return this.y; }
33 function strict_get_y() { "use strict"; return this.y; }
35 // Test calls to strict mode function as methods.
40 // Test calls to strict mode function with implicit receiver.
41 function g() {
48 // Test calls to local strict mode function with implicit receiver.
49 function local_function_test() {
50 function get_y() { return this.y; }
51 function strict_get_y() { "use strict"; return this.y; }
67 // Test call to catch variable strict-mode function. Implicit
82 // Test calls to strict-mode function with the object from a with
97 // Check calls to eval within a function with 'undefined' as receiver.
98 function implicit_receiver_eval() {
107 // Strict mode function to get inlined.
108 function strict_return_receiver() {
114 function g() {
127 function g2() {
142 function outer_eval_receiver() {
143 var eval = function() { return this; }
144 function inner_strict() {
152 function outer_eval_conversion3(eval, expected) {
153 function inner_strict() {
161 function strict_return_this() { "use strict"; return this; }
162 function return_this() { return this; }
163 function strict_eval(s) { "use strict"; return eval(s); }
164 function non_strict_eval(s) { return eval(s); }
173 function test_constant_function() {
174 var o = { f: function() { "use strict"; return this; } };
180 function test_field() {
182 o.f = function() {};
183 o.f = function() { "use strict"; return this; };