We're a place where coders share, stay up-to-date and grow their careers.
I will put this here and let the curious research bitwise XOR with numbers ;)
function xor(nums) { return nums.reduce((result, current) => result ^ current); }
I will put this here and let the curious research bitwise XOR with numbers ;)