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.
.concat() coerces non-string arguments to strings, similar to the + operator.
Challenge: Implement appendNumber(str, n) that concatenates a string and a number using .concat().
appendNumber('score: ', 42) // β 'score: 42'