--- date: 20201112 id: 49a334dd-0103-46cc-abba-af84529fae70 title: JavaScript String padStart Method --- # Syntax ``` javascript console.log("x".padStart(5, "ab")); // ababx ```