What will be the output of the console.log statement in the following code snippet?
let str = 'JavaScript is cool!';
let regex = /js/i;
console.log(regex.test(str));
What will be the output of the console.log statement in the following code snippet?
let str = 'JavaScript is cool!';
let regex = /js/i;
console.log(regex.test(str));