From e9f79a0133a3cbec8341690f09e3f30a26a803f6 Mon Sep 17 00:00:00 2001 From: zhangpingchuan <228939628@qq.com> Date: Tue, 10 Jan 2023 10:13:09 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E4=B9=98?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.js b/index.js index 86eb6d1..9722a10 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,7 @@ function add(a, b) { return a + b; } + +function multiplicate(a, b) { + return a * b; +} -- Gitee From aaa6b2d80aabf63e896fa5ef62fa991e570b0d01 Mon Sep 17 00:00:00 2001 From: zhangpingchuan <228939628@qq.com> Date: Tue, 10 Jan 2023 10:20:48 +0800 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=E6=88=90ts?= =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 9722a10..2ba59f6 100644 --- a/index.js +++ b/index.js @@ -2,6 +2,6 @@ function add(a, b) { return a + b; } -function multiplicate(a, b) { - return a * b; +function multiplicate(c, c) { + return c * d; } -- Gitee