From 7c9b189668ad54e1c765bac57bd5828273306162 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E5=A8=9F?= <3113368166@qq.com> Date: Mon, 13 Feb 2023 10:58:49 +0800 Subject: [PATCH 1/4] '1' --- xj/1.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 xj/1.html diff --git a/xj/1.html b/xj/1.html new file mode 100644 index 0000000..56efbdb --- /dev/null +++ b/xj/1.html @@ -0,0 +1,12 @@ + + + + + + + Document + + + + + \ No newline at end of file -- Gitee From aa1d02b9b142d475f5ae1b58cd3c2ceff781e20f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E5=A8=9F?= <3113368166@qq.com> Date: Tue, 14 Feb 2023 08:28:36 +0000 Subject: [PATCH 2/4] =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=20xj=20?= =?UTF-8?q?=E4=B8=BA=20=E8=B0=A2=E5=A8=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xj/1.html => "\350\260\242\345\250\237/1.html" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename xj/1.html => "\350\260\242\345\250\237/1.html" (100%) diff --git a/xj/1.html "b/\350\260\242\345\250\237/1.html" similarity index 100% rename from xj/1.html rename to "\350\260\242\345\250\237/1.html" -- Gitee From a535c459e108c97cb71d00ad074995e144d8268e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E5=A8=9F?= <3113368166@qq.com> Date: Tue, 14 Feb 2023 09:05:32 +0000 Subject: [PATCH 3/4] =?UTF-8?q?=E6=A8=A1=E5=9D=97=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢娟 <3113368166@qq.com> --- ...50\241\345\235\227\344\275\234\344\270\232.js" | 15 +++++++++++++++ ...77\220\350\241\214\344\273\243\347\240\201.js" | 5 +++++ 2 files changed, 20 insertions(+) create mode 100644 "\350\260\242\345\250\237/\346\250\241\345\235\227\344\275\234\344\270\232/\346\250\241\345\235\227\344\275\234\344\270\232.js" create mode 100644 "\350\260\242\345\250\237/\346\250\241\345\235\227\344\275\234\344\270\232/\350\277\220\350\241\214\344\273\243\347\240\201.js" diff --git "a/\350\260\242\345\250\237/\346\250\241\345\235\227\344\275\234\344\270\232/\346\250\241\345\235\227\344\275\234\344\270\232.js" "b/\350\260\242\345\250\237/\346\250\241\345\235\227\344\275\234\344\270\232/\346\250\241\345\235\227\344\275\234\344\270\232.js" new file mode 100644 index 0000000..b2dbae6 --- /dev/null +++ "b/\350\260\242\345\250\237/\346\250\241\345\235\227\344\275\234\344\270\232/\346\250\241\345\235\227\344\275\234\344\270\232.js" @@ -0,0 +1,15 @@ +let obj={ +'add':function(sum1,sum2){ +return sum1+sum2; +}, +'jian':function(sum1,sum2){ +return sum1-sum2; +}, +'cheng':function(sum1,sum2){ +return sum1*sum2; +}, +'chu':function(sum1,sum2){ +return sum1/sum2; +} +}; +module.exports=obj; \ No newline at end of file diff --git "a/\350\260\242\345\250\237/\346\250\241\345\235\227\344\275\234\344\270\232/\350\277\220\350\241\214\344\273\243\347\240\201.js" "b/\350\260\242\345\250\237/\346\250\241\345\235\227\344\275\234\344\270\232/\350\277\220\350\241\214\344\273\243\347\240\201.js" new file mode 100644 index 0000000..c8babc1 --- /dev/null +++ "b/\350\260\242\345\250\237/\346\250\241\345\235\227\344\275\234\344\270\232/\350\277\220\350\241\214\344\273\243\347\240\201.js" @@ -0,0 +1,5 @@ +let obj1=require("./模块作业.js"); +console.log(obj1.add(3,4)); +console.log(obj1.jian(5,4)); +console.log(obj1.cheng(3,4)); +console.log(obj1.chu(3,4)); -- Gitee From 869a4c7b0ad475e4af92e780b15b971121356348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E5=A8=9F?= <3113368166@qq.com> Date: Thu, 16 Feb 2023 08:13:58 +0000 Subject: [PATCH 4/4] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 谢娟 <3113368166@qq.com> --- homework/create.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 homework/create.js diff --git a/homework/create.js b/homework/create.js new file mode 100644 index 0000000..9eec776 --- /dev/null +++ b/homework/create.js @@ -0,0 +1,16 @@ +'use strict'; +let fs=require('fs'); +let Maxfile=''; +let Max=0; +for(let i=1;i<=5;i++){ + +let sjs=Math.floor(Math.random()*(1000-1+1)+1); +let content=""+sjs+""; +let file="./"+i+".content"; +if(Number(content)>Max){ + Max=Number(content); + Maxfile=file; +} +} + +console.log(Maxfile); \ No newline at end of file -- Gitee