Returns the minimum value of the array - Node.js Array

Node.js examples for Array:Array Value

Description

Returns the minimum value of the array

Demo Code


Array.prototype.min = function() {
  return Math.min.apply(Math, this);
};

Related Tutorials