WTF ?

Extracting Substrings In Javascript, cfr source