Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const usernames = [];
  2.  
  3. Object.keys(reach.var.d.c).forEach(cid => {
  4.     if (reach.var.d.c[cid].cus.BE_BOARDER) {
  5.         usernames.push(reach.var.d.c[cid].un.toLowerCase());
  6.     }
  7. });
  8.  
  9. console.log(usernames.sort().reverse());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement