Unikanie 0 z przodu w JavaScript

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