take that chip off your shoulder mate
about tech interviews, the way you handle stuff you dont know is also important. I didn't say he deserved to be rejected because he didn't know what summing 2 arrays results in, but the interviewer was fair to ask that (if the position was about javascript). and yes if you were the interviewee with this kind of attitude I'd reject you on the spot