Pārlūkot izejas kodu

object array operation done

night-cherry 1 mēnesi atpakaļ
vecāks
revīzija
93c5061126
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      index.js

+ 2 - 1
index.js

@@ -112,7 +112,8 @@ const app=createApp({
         console.log("------  _books : "+_books);
         // console.log("------this.books : "+this.books);
         try{
-          for(item of res){
+          for(const item of res){
+            console.log(item);
             _books.push(item);
           }
           // _books.concat(res);