JavaScript startsWith() Case without position const text = 'Hello, Welcome to JavaScript World'; console.log(text.startsWith('Welcome')); // false