Good Example, (string-replace-global-or-loop)[http://jsperf.com/string-replace-global-or-loop]