Output of the below Regular Expression function in JavaScript Var patt1 = new RegExp(“Best”); document.write(patt1.test(“The Best things in life are free”));
Reveal answer
Fill a bubble to check yourself
Output of the below Regular Expression function in JavaScript Var patt1 = new RegExp(“Best”); document.write(patt1.test(“The Best things in life are free”));