image2text

Untitled

Aug 16th, 2019
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. // If you're doing this:
  2.  
  3. t user = users.filter(u => u.id === 1d)[0];
  4. // you really meant to do this:
  5.  
  6. t user = users.find(u => u.id === id);
Advertisement
Add Comment
Please, Sign In to add comment