Lines Matching refs:function
8 (function TestSuperNamedLoads() {
9 function Base() { }
10 function Derived() {
15 function fBase() { return "Base " + this.toString(); }
19 function fDerived() {
28 Base.prototype.toString = function() { return "this is Base"; };
29 Derived.prototype.toString = function() { return "this is Derived"; };
37 (function TestSuperKeywordNonMethod() {
38 function f() {
46 (function TestGetter() {
47 function Base() {}
58 function Derived() {}
65 Derived.prototype.testGetter = function() {
74 (function TestSetter() {
75 function Base() {}
87 function Derived() {}
94 Derived.prototype.testSetter = function() {
104 (function TestKeyedGetter() {
105 function Base() {}
112 { get: function() { return this._x; } });
114 function Derived() {}
121 Derived.prototype.testGetter = function() {