forEach -> for, instanceof Array -> Array.isArray
1.0.5