What will be the value of result after executing the following code snippet?
let str = 'Hello, World!';
let regex = /[aeiou]/g;
let result = str.replace(regex, 'X');
What will be the value of result after executing the following code snippet?
let str = 'Hello, World!';
let regex = /[aeiou]/g;
let result = str.replace(regex, 'X');