Understanding Symmetric Differences in JavaScript Arrays