UNPKG

meteor-node-stubs

Version:

Stub implementations of Node built-in modules, a la Browserify

9 lines (8 loc) 129 B
module.exports = function xor (a, b) { var len = a.length var i = -1 while (++i < len) { a[i] ^= b[i] } return a }