UNPKG

react-kiwi-dropdown

Version:

| Name | Type | Description | | --------------------------- | -------------------- | ----------- | | options | array | | selectedOption | string | | onCha

10 lines (7 loc) 186 B
module.exports = function xorInplace (a, b) { var length = Math.min(a.length, b.length) for (var i = 0; i < length; ++i) { a[i] = a[i] ^ b[i] } return a.slice(0, length) }