uni-ticket-system/node_modules/licia/swap.js
2023-12-05 10:11:10 +08:00

9 lines
139 B
JavaScript

exports = function(arr, a, b) {
var tmp = arr[a];
arr[a] = arr[b];
arr[b] = tmp;
return arr;
};
module.exports = exports;