Check if string starts with in JavaScript

name.startsWith('b')