String.prototype.concatbeginnerconst str = 'Hello'
str.concat(', ', 'World', '!') // β 'Hello, World!'
''.concat('a', 'b', 'c') // β 'abc'Use concat() to join two or more strings together, returning a new string without modifying the originals.
Concatenating with an empty string returns a copy of the original.
Challenge: Implement withEmpty(str) that returns str.concat('').
withEmpty('hello') // β 'hello'