Object object has no method. Javascript object. метод some в js. метод foreach javascript. what is object in javascript.