Home | History | Annotate | Download | only in harmony

Lines Matching refs:function

13 function check(a) {
52 function Bag() {
73 function areSame(object, array) {
86 Object.defineProperty(Array.prototype, "0", {set: function(v) {status = "FAIL 1"}});
90 Object.defineProperty(Bag.prototype, "0", {set: function(v) {status = "FAIL 2"}});
99 function Herd(n) {
114 function setter(v) {
121 function Pack() {
130 function Bevy() {}
141 function Empty() {}
143 Object.defineProperty(Empty.prototype, "length", {get: function() { return 0; }});
148 assertThrows(function() { Empty.of(); }, TypeError);
159 assertThrows(function() { new Array.of() }, TypeError); // not a constructor
162 [undefined, null, false, "cow"].forEach(function(val) {