What will be the value of result after executing the following code snippet?
let str = 'JavaScript is fun!';
let regex = /is/;
let result = regex.test(str);
What will be the value of result after executing the following code snippet?
let str = 'JavaScript is fun!';
let regex = /is/;
let result = regex.test(str);