Alternative to foreach loop for Datasnapshot so I can exit loop when condition is met?

后端 未结 0 1155
故里飘歌
故里飘歌 2020-11-28 14:07

I am currently running a forEach loop like bellow:

snapshot.forEach((theChild) => 
   let newPostID1 = String(snapshoot.key);
   let newUID = String(child.         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题