daily pastebin goal
33%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 47 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top