javascript repeat string multiple times code example Example: repeat string n times javascript "a".repeat(10)