From 1d1c3d38633642a1e68a40f24aeb271a52b20e79 Mon Sep 17 00:00:00 2001 From: Vombat Date: Thu, 19 Dec 2024 00:19:20 +0300 Subject: [PATCH 1/2] =?UTF-8?q?1=D1=8F=20=D0=B7=D0=B0=D0=B4=D0=B0=D1=87?= =?UTF-8?q?=D0=B0=20-=20=D0=BF=D1=80=D0=BE=D0=BC=D0=B5=D0=B6=D1=83=D1=82?= =?UTF-8?q?=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 2 +- 00-intro/10-sum/sum.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index c3cf906..c60be47 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,7 +3,7 @@ root = true [*.{js,jsx,ts,tsx,vue,md,json,css,html}] charset = utf-8 indent_style = space -indent_size = 2 +indent_size = 4 end_of_line = lf trim_trailing_whitespace = true insert_final_newline = true diff --git a/00-intro/10-sum/sum.js b/00-intro/10-sum/sum.js index 03c9923..b00386d 100644 --- a/00-intro/10-sum/sum.js +++ b/00-intro/10-sum/sum.js @@ -6,5 +6,5 @@ * @return {number} сумма чисел a и b */ export function sum(a, b) { - // Решение + a + b } From a3696eaa11655dfdf543888dbb6724c2f5049c2e Mon Sep 17 00:00:00 2001 From: Vombat Date: Thu, 19 Dec 2024 00:20:16 +0300 Subject: [PATCH 2/2] =?UTF-8?q?1=D1=8F=20=D0=B7=D0=B0=D0=B4=D0=B0=D1=87?= =?UTF-8?q?=D0=B0=20-=20=D0=B8=D1=82=D0=BE=D0=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 00-intro/10-sum/sum.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/00-intro/10-sum/sum.js b/00-intro/10-sum/sum.js index b00386d..fb70aa0 100644 --- a/00-intro/10-sum/sum.js +++ b/00-intro/10-sum/sum.js @@ -6,5 +6,5 @@ * @return {number} сумма чисел a и b */ export function sum(a, b) { - a + b + return a + b; }