string padding with 0 in javascript code example Example: lpad javascript str.padStart(targetLength [, padString])