delegate to ECMA5 native Array.isArray if available
(cherry picked from commit b774bf7ca9770625c0dffa99d46c14f22fdf7776)