Remove obsolete comment about using native indexOf

Remove a comment missed in #1525