Nodejs Utililty Methods Object Flatten

List of utility methods to do Object Flatten

Description

The list of methods to do Object Flatten are organized into topic(s).

Method

flatten()
Object.prototype.flatten = function() {
  var that = this;
  return Object.getOwnPropertyNames(this).map(function(name) {
    return that[name];
  });
};