JS противоположность StartSwith
let yourString = 'Hello world!';
if ( !yourString.startsWith('Hell') ) {
console.log('We are going to hell');
}
Wicked Wolf
let yourString = 'Hello world!';
if ( !yourString.startsWith('Hell') ) {
console.log('We are going to hell');
}