@extra-array/swap-update.min (npm): Exchanges two values.
Keywords: extra|array|swap|update|swap$|accumulate|adjacent-combine|cartesian-product|chunk|clear|compare|concat|copy|copy-within|count|count-each|cut|cut-at|cut-at-right|cut-right