Nodejs Utililty Methods Array Object Key

List of utility methods to do Array Object Key

Description

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

Method

singleRemove(objectToRemove)
Array.prototype.singleRemove = function(objectToRemove) {
    if ((index = this.indexOf(objectToRemove)) !== -1) {
        this.splice(index,1);
    return this;