indexOf() method throwing error in Chrome ONLY

Printable View