daily pastebin goal
20%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const findOdd = (arr) => arr.reduce((a,b) => a ^ b);
  2.  
  3. findOdd([1,1,2,-2,5,2,4,4,-1,-2,5])
RAW Paste Data
Top