Practice how to check whether a string starts with the specified text in JavaScript

JavaScript logo JavaScript Online Editor