What will be the output of the console.log statement in the following code snippet?
let str = 'Hello, World!';
let regex = /Wor/;
console.log(str.match(regex));
What will be the output of the console.log statement in the following code snippet?
let str = 'Hello, World!';
let regex = /Wor/;
console.log(str.match(regex));