String.prototype.repeatbeginner'ab'.repeat(3) // β 'ababab'
'-'.repeat(5) // β '-----'
'x'.repeat(0) // β ''Use repeat() to create a new string with the original repeated a specified number of times.
str.repeat(1) returns a new string equal to the original.
Challenge: Implement repeatOnce(str) that returns the string repeated once.
repeatOnce('hello') // β 'hello'