Javascript Array isSparse()

Description

Javascript Array isSparse()


Array.prototype.isSparse = function() {
  return this.length !== Object.keys(this).length;
}



PreviousNext

Related