feat(btoa): port and modify from Array.findindex

Please change the variable name to `HAS_ARRAY_FINDINDEX`, just like others array prototype methods do.