wiki/content/20201112095657-javascript_string_padstart_method.md

182 B

date id title
2020-11-12 49a334dd-0103-46cc-abba-af84529fae70 JavaScript String padStart Method

Syntax

console.log("x".padStart(5, "ab")); // ababx