javascript left pad string with zeros code example Example: lpad javascript str.padStart(targetLength [, padString])