Home | History | Annotate | Download | only in mjsunit

Lines Matching refs:Function

33 function globalFunction1() {
37 function globalFunction2() {
44 function testGlobals() {
52 function F() {}
54 F.prototype.one = function() {return 'one'; }
55 F.prototype.two = function() {return 'two'; }
56 F.prototype.three = function() {return 'three'; }
61 function testKeyTransitions() {
111 // Function is a constant property
120 // Function is a fast property
121 f.field = function() { return 'field'; }
133 f.four = function() { return 'four'; }
134 f.five = function() { return 'five'; }
158 function testTypeTransitions() {
166 if (i == 5) { F.prototype.one = function() { return '1'; } }
173 if (i == 5) { f.__proto__ = { one: function() { return 'I'; } } }
180 if (i == 5) { f.one = function() { return 'ONE'; } }
188 var obj = { toString: function() { return '2'; } };
196 obj = { toString: function() { return 'ONE'; } };