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.
.startsWith() is case-sensitive. 'Hello' does not start with 'hello'.
Challenge: Implement startsWithExact(str, prefix) that checks the prefix case-sensitively.
startsWithExact('Hello', 'hello') // β false
startsWithExact('Hello', 'Hello') // β true