I'm confused why the `arrayPrototypeIndexOf` function is separate, since it's never used anywhere else. Why can't the code be inlined here?

Also `inArray` needs to be renamed to `indexOf`