Javascript Object each(object, callback, scope) {

Description

Javascript Object each(object, callback, scope) {

Object.each = function(object, callback, scope) {
  for (var key in object) {
    callback.call(scope, key, object[key]);
  }//from w ww.j av  a 2s .  c o  m
};



PreviousNext

Related