Kaynağa Gözat

object array operation done

night-cherry 1 ay önce
ebeveyn
işleme
9a8900fc8b
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      index.js

+ 1 - 1
index.js

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