Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var users = [];
- usersRef.on(‘child_added’, function (snap) {
- users.push(snap.val()); // Push children to a local users array
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement