Syntax

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