Evitando 0 na frente em JavaScript

number.replace(/^0+/, '')
Poised Panther