Javascript Number even()

Description

Javascript Number even()


Number.prototype.even = function () {
  return (this % 2 == 0)
}

Javascript Number even()

Number.prototype.even = function() {
  return this.constructor.even(this)
}



PreviousNext

Related