Example Resulting value of x
var patt = /o/gim;
var x = patt.global;
true