Javascript Number padZeros( lenght )

Description

Javascript Number padZeros( lenght )


Number.prototype.padZeros = function ( lenght ) {
  return this.toString().padZeros(length);
}



PreviousNext

Related