feat(*): 代码仓库初始化

This commit is contained in:
2025-11-07 18:39:29 +08:00
commit b1aeb6b39b
36 changed files with 1700 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
const myModule = require("./myModule");
console.log("Auther: ", myModule.auther);
console.log(myModule.greet("Alice"));
console.log("Sum: ", myModule.add(3, 5));
const lodash = require("lodash");
const array = [1, 2, 3, 4, 5];
const result = lodash.reverse(array);
console.log("Reverse array: ", result);
const gt3 = array.filter((n) => lodash.gt(n, 3));
console.log("Greater than 3: ", gt3);