What is the correct regular expression to replace Mango with Apple in a string: var str = "Eat Mango!";
Correct Answer: var res = str.replace(/mango/i, "apple");
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More JavaScript MCQ Questions