String.prototype.startsWithbeginnerconst str = 'Hello, World!'
str.startsWith('Hello') // β true
str.startsWith('World') // β false
str.startsWith('World', 7) // β trueUse startsWith() to check if a string begins with a specific prefix, with an optional start position.
Every string starts with an empty string '', so .startsWith('') always returns true.
Challenge: Implement alwaysTrue(str) that checks if str starts with ''.
alwaysTrue('anything') // β true
alwaysTrue('') // β true