From adb1d9a8077017f6cf908b9dace1906ee21a10d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?18=E8=94=A1=E7=91=9C=E7=8E=B2?= <18859385229> Date: Tue, 14 Feb 2023 10:41:18 +0800 Subject: [PATCH 1/3] 111 --- "\350\224\241\347\221\234\347\216\262/12.txt" | 1 + 1 file changed, 1 insertion(+) create mode 100644 "\350\224\241\347\221\234\347\216\262/12.txt" diff --git "a/\350\224\241\347\221\234\347\216\262/12.txt" "b/\350\224\241\347\221\234\347\216\262/12.txt" new file mode 100644 index 00000000..07307f0b --- /dev/null +++ "b/\350\224\241\347\221\234\347\216\262/12.txt" @@ -0,0 +1 @@ +nih \ No newline at end of file -- Gitee From 23344ec6480df4fea84f4733216de3cd37d6b8bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?18=E8=94=A1=E7=91=9C=E7=8E=B2?= <1434714775@qq.com> Date: Wed, 15 Feb 2023 00:02:03 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20?= =?UTF-8?q?=E5=91=A8=E5=BF=97=E6=9D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../2\346\234\21014.html" | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 "\345\221\250\345\277\227\346\235\260/2\346\234\21014.html" diff --git "a/\345\221\250\345\277\227\346\235\260/2\346\234\21014.html" "b/\345\221\250\345\277\227\346\235\260/2\346\234\21014.html" deleted file mode 100644 index 5b741126..00000000 --- "a/\345\221\250\345\277\227\346\235\260/2\346\234\21014.html" +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - 纪2023年2月14日 - - - 城南小陌又逢春,只见桃花不见人. 人有生老三千疾,唯有相思不可医. - - \ No newline at end of file -- Gitee From e23566526a2a4c0af6a1092706fa3e41fa5d3e16 Mon Sep 17 00:00:00 2001 From: unknown <1434714775@qq.com> Date: Thu, 16 Feb 2023 23:02:43 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E7=AC=AC=E4=B8=80=E6=AC=A1=E4=BD=9C?= =?UTF-8?q?=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../moel.js" | 47 +++++++++++++++++++ .../use2.js" | 5 ++ 2 files changed, 52 insertions(+) create mode 100644 "\350\224\241\347\221\234\347\216\262/\350\224\241\347\221\234\347\216\262 \347\254\254\344\270\200\346\254\241\344\275\234\344\270\232/moel.js" create mode 100644 "\350\224\241\347\221\234\347\216\262/\350\224\241\347\221\234\347\216\262 \347\254\254\344\270\200\346\254\241\344\275\234\344\270\232/use2.js" diff --git "a/\350\224\241\347\221\234\347\216\262/\350\224\241\347\221\234\347\216\262 \347\254\254\344\270\200\346\254\241\344\275\234\344\270\232/moel.js" "b/\350\224\241\347\221\234\347\216\262/\350\224\241\347\221\234\347\216\262 \347\254\254\344\270\200\346\254\241\344\275\234\344\270\232/moel.js" new file mode 100644 index 00000000..32810270 --- /dev/null +++ "b/\350\224\241\347\221\234\347\216\262/\350\224\241\347\221\234\347\216\262 \347\254\254\344\270\200\346\254\241\344\275\234\344\270\232/moel.js" @@ -0,0 +1,47 @@ +let jg; +let r=/^[0-9]+[0-9]*/; +let ojb={ + jia:function (a,b) { + if(!r.test(a)||!r.test(b)){ + jg=flase; + console.log("请输入正确数值") + }else{ + return jg=a+b; + + } + + } + ,jian:function (a,b) { + if(!r.test(a)||!r.test(b)){ + jg=false; + console.log("请输入正确数值"); + }else{ + return jg=a-b; + + } + + } + ,chen: function(a,b){ + if(!r.test(a)||!r.test(b)){ + jg=false; + console.log("请输入正确数值"); + }else{ + return jg=a*b; + + } + +} + ,chu:function (a,b) { + let rr=/^[1-9]+[0-9]*/; + if(!rr.test(a)||!rr.test(b)){ + jg=false; + console.log("请输入正确数值"); + }else{ + return jg=a/b; + + } + +} +} +module.exports=ojb; + diff --git "a/\350\224\241\347\221\234\347\216\262/\350\224\241\347\221\234\347\216\262 \347\254\254\344\270\200\346\254\241\344\275\234\344\270\232/use2.js" "b/\350\224\241\347\221\234\347\216\262/\350\224\241\347\221\234\347\216\262 \347\254\254\344\270\200\346\254\241\344\275\234\344\270\232/use2.js" new file mode 100644 index 00000000..075d9c8f --- /dev/null +++ "b/\350\224\241\347\221\234\347\216\262/\350\224\241\347\221\234\347\216\262 \347\254\254\344\270\200\346\254\241\344\275\234\344\270\232/use2.js" @@ -0,0 +1,5 @@ +let suan=require('./moel'); +console.log(suan.jia(1,2)); +console.log(suan.jian(3,1)); +console.log(suan.chen(1,2)); +console.log(suan.chu(15,3)); \ No newline at end of file -- Gitee