Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Beginning Zeros by nicolas.tscherter
function beginningZeros(text: string): number {
return text.match(/^0*/)[0].length;
}
June 16, 2020