This commit is contained in:
quantulr
2023-08-30 17:27:21 +08:00
commit 0288146b0d
85 changed files with 26508 additions and 0 deletions

11
miniprogram/utils/es6.wxs Normal file
View File

@ -0,0 +1,11 @@
function find(arr, callback) {
for (var i = 0; i < arr.length; i++) {
if (callback(arr[i], i, arr)) {
return arr[i];
}
}
return undefined;
}
module.exports = {
find: find,
};