krambuhl/Kondico

View on GitHub
source/functions/xor.js

Summary

Maintainability
A
1 hr
Test Coverage
Kondico.xor = function() {
  var tape = arguments[0];
  var i = 1;
  while (arguments.length > i) {
    tape = tape !== arguments[i++];
  }
  return tape;
};