From 56b9c76309f9815688dc627ee2e772c45da772a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=A4=E4=BA=A6=E5=87=A1?= <1044020597@qq.com> Date: Mon, 13 Feb 2023 10:35:07 +0800 Subject: [PATCH 1/4] 'wodezuoye' --- tyf/index.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tyf/index.html diff --git a/tyf/index.html b/tyf/index.html new file mode 100644 index 0000000..56efbdb --- /dev/null +++ b/tyf/index.html @@ -0,0 +1,12 @@ + + + + + + + Document + + + + + \ No newline at end of file -- Gitee From b822c80b2c54f70a14632ffb988ef784877861b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=A4=E4=BA=A6=E5=87=A1?= <1044020597@qq.com> Date: Tue, 14 Feb 2023 08:20:21 +0000 Subject: [PATCH 2/4] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20tyf/?= =?UTF-8?q?index.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tyf/index.html | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 tyf/index.html diff --git a/tyf/index.html b/tyf/index.html deleted file mode 100644 index 56efbdb..0000000 --- a/tyf/index.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - Document - - - - - \ No newline at end of file -- Gitee From 1bdd35fc0098289c2f9061abc3a19435194f9688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=A4=E4=BA=A6=E5=87=A1?= <1044020597@qq.com> Date: Tue, 14 Feb 2023 08:20:56 +0000 Subject: [PATCH 3/4] 1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 汤亦凡 <1044020597@qq.com> --- ...12\240\345\207\217\344\271\230\351\231\244.js" | 15 +++++++++++++++ .../\350\277\220\350\241\214.js" | 8 ++++++++ 2 files changed, 23 insertions(+) create mode 100644 "\346\261\244\344\272\246\345\207\241node\344\275\234\344\270\232/\346\250\241\345\235\227\344\275\234\344\270\232/\345\212\240\345\207\217\344\271\230\351\231\244.js" create mode 100644 "\346\261\244\344\272\246\345\207\241node\344\275\234\344\270\232/\346\250\241\345\235\227\344\275\234\344\270\232/\350\277\220\350\241\214.js" diff --git "a/\346\261\244\344\272\246\345\207\241node\344\275\234\344\270\232/\346\250\241\345\235\227\344\275\234\344\270\232/\345\212\240\345\207\217\344\271\230\351\231\244.js" "b/\346\261\244\344\272\246\345\207\241node\344\275\234\344\270\232/\346\250\241\345\235\227\344\275\234\344\270\232/\345\212\240\345\207\217\344\271\230\351\231\244.js" new file mode 100644 index 0000000..36cee13 --- /dev/null +++ "b/\346\261\244\344\272\246\345\207\241node\344\275\234\344\270\232/\346\250\241\345\235\227\344\275\234\344\270\232/\345\212\240\345\207\217\344\271\230\351\231\244.js" @@ -0,0 +1,15 @@ +let obj={ + 'add':function(num1,num2){ + return num1+num2; + }, + 'sub':function(num1,num2){ + return num1-num2; + }, + 'mul':function(num1,num2){ + return num1*num2; + }, + 'divide':function(num1,num2){ + return num1/num2; + } +}; +module.exports=obj; \ No newline at end of file diff --git "a/\346\261\244\344\272\246\345\207\241node\344\275\234\344\270\232/\346\250\241\345\235\227\344\275\234\344\270\232/\350\277\220\350\241\214.js" "b/\346\261\244\344\272\246\345\207\241node\344\275\234\344\270\232/\346\250\241\345\235\227\344\275\234\344\270\232/\350\277\220\350\241\214.js" new file mode 100644 index 0000000..618e6f2 --- /dev/null +++ "b/\346\261\244\344\272\246\345\207\241node\344\275\234\344\270\232/\346\250\241\345\235\227\344\275\234\344\270\232/\350\277\220\350\241\214.js" @@ -0,0 +1,8 @@ +let objs=require("./加减乘除"); +// console.log(objs); +console.log(objs.add(1,2)); +console.log(objs.sub(81,23)); +console.log(objs.mul(6,2)); +console.log(objs.divide(18,3)); + + -- Gitee From eb0fe38763ecbb4b9d78786193a18a26d204a20e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=A4=E4=BA=A6=E5=87=A1?= <1044020597@qq.com> Date: Tue, 14 Feb 2023 08:23:40 +0000 Subject: [PATCH 4/4] =?UTF-8?q?update=20=E6=B1=A4=E4=BA=A6=E5=87=A1node?= =?UTF-8?q?=E4=BD=9C=E4=B8=9A/=E6=A8=A1=E5=9D=97=E4=BD=9C=E4=B8=9A/?= =?UTF-8?q?=E5=8A=A0=E5=87=8F=E4=B9=98=E9=99=A4.js.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 汤亦凡 <1044020597@qq.com> --- .../\345\212\240\345\207\217\344\271\230\351\231\244.js" | 1 + 1 file changed, 1 insertion(+) diff --git "a/\346\261\244\344\272\246\345\207\241node\344\275\234\344\270\232/\346\250\241\345\235\227\344\275\234\344\270\232/\345\212\240\345\207\217\344\271\230\351\231\244.js" "b/\346\261\244\344\272\246\345\207\241node\344\275\234\344\270\232/\346\250\241\345\235\227\344\275\234\344\270\232/\345\212\240\345\207\217\344\271\230\351\231\244.js" index 36cee13..ba307a8 100644 --- "a/\346\261\244\344\272\246\345\207\241node\344\275\234\344\270\232/\346\250\241\345\235\227\344\275\234\344\270\232/\345\212\240\345\207\217\344\271\230\351\231\244.js" +++ "b/\346\261\244\344\272\246\345\207\241node\344\275\234\344\270\232/\346\250\241\345\235\227\344\275\234\344\270\232/\345\212\240\345\207\217\344\271\230\351\231\244.js" @@ -1,3 +1,4 @@ +//作业:写个加减乘除的模块(尽量少写暴露,要考虑复用性),供外部使用. 作业每个分支要建一个目录(自己名字) let obj={ 'add':function(num1,num2){ return num1+num2; -- Gitee