Count Subarray With Given Xor Leetcode Javascript 30