Today's JS surprise: >> r = /a/g >> s = "abc" >> r.test(s) true >> r.test(s) false >> r.test(s) true >> r.test(s) false >> r.test(s) true