Lines Matching refs:object
459 Function.prototype.forEach = function(object, block, context) {
460 for (var key in object) {
462 block.call(context, object[key], key, object);
475 var forEach = function(object, block, context) { argument
476 if (object) {
478 if (object instanceof Function) {
481 } else if (object.forEach instanceof Function) {
483 object.forEach(block, context);
485 } else if (typeof object == "string") {
488 } else if (typeof object.length == "number") {
492 resolve.forEach(object, block, context);