Guest User

Untitled

a guest
Dec 18th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. var initClientList = {};
  2.  
  3. for (var client in clients) {
  4. redisClient.hgetall(clients[client], function (err, clientData) {
  5. initClientList[clientData["clientId"]] = [clientData["x"], clientData["y"]];
  6. });
  7. }
  8.  
  9. console.log(initClientList);
Add Comment
Please, Sign In to add comment