Javascript Array numbers(array)

Description

Javascript Array numbers(array)

Array.prototype.numbers = function(array) {
  return this.filter((x) => Number.isInteger(parseInt(x)));
};



PreviousNext

Related