check if a string starts with another string in JavaScript

JavaScript
🤖 Code Explanation
The code is written in order to check if a string starts with a specific word. In this case, the function will return true if the string starts with 'how' or 'How', and false if it starts with anything else.

More problems solved in JavaScript




















