From 487c50ad5744ce2317fe472cead8f1e8ca7c5049 Mon Sep 17 00:00:00 2001 From: Rubtsov Ilya Date: Sun, 9 Oct 2016 20:32:08 +0500 Subject: [PATCH 1/6] =?UTF-8?q?=D0=A1=D0=BB=D0=BE=D0=B6=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=B4=D0=B2=D1=83=D1=85=20=D1=87=D0=B8=D1=81=D0=B5?= =?UTF-8?q?=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- math.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/math.js b/math.js index c749300..bd8a043 100644 --- a/math.js +++ b/math.js @@ -1,7 +1,8 @@ 'use strict'; exports.isStar = true; - +var c; exports.sum = function (a, b) { - // Реализуйте сложение в этой функции + c = a+b; + return c; }; From 9224015a59e9cd7a908e8ebba9031b5d7a9f4f2e Mon Sep 17 00:00:00 2001 From: Rubtsov Ilya Date: Sun, 9 Oct 2016 21:27:25 +0500 Subject: [PATCH 2/6] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B8=20=D0=A2=D1=80?= =?UTF-8?q?=D0=B5=D0=B2=D0=B8=D1=81=D0=B0=20=D0=B2=20=D1=81=D0=BB=D0=BE?= =?UTF-8?q?=D0=B6=D0=B5=D0=BD=D0=B8=D0=B8=202-=D1=85=20=D1=87=D0=B8=D1=81?= =?UTF-8?q?=D0=B5=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- math.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/math.js b/math.js index bd8a043..518f70b 100644 --- a/math.js +++ b/math.js @@ -3,6 +3,7 @@ exports.isStar = true; var c; exports.sum = function (a, b) { - c = a+b; + c = a + b; + return c; }; From 0a15cd42bdf9e8f3232801b695644014f5caf805 Mon Sep 17 00:00:00 2001 From: Rubtsov Ilya Date: Sun, 9 Oct 2016 21:38:37 +0500 Subject: [PATCH 3/6] =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B5=D0=B4=D0=B5=D0=BB?= =?UTF-8?q?=D0=BA=D0=B0=20=D1=87.2=20=D1=81=D0=BB=D0=BE=D0=B6=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=202-=D1=85=20=D1=87=D0=B8=D1=81=D0=B5=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- math.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/math.js b/math.js index 518f70b..162cedf 100644 --- a/math.js +++ b/math.js @@ -1,9 +1,10 @@ 'use strict'; exports.isStar = true; -var c; + +var c = 0; + exports.sum = function (a, b) { - c = a + b; - - return c; + c = a + b; + return c; }; From 985586cc7c95dde41ca711d74e4592afd602e819 Mon Sep 17 00:00:00 2001 From: Rubtsov Ilya Date: Sun, 9 Oct 2016 21:42:45 +0500 Subject: [PATCH 4/6] =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B5=D0=B4=D0=B5=D0=BB?= =?UTF-8?q?=D0=BA=D0=B0=20=D1=87.3=20=D1=81=D0=BB=D0=BE=D0=B6=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=202-=D1=85=20=D1=87=D0=B8=D1=81=D0=B5=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- math.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math.js b/math.js index 162cedf..66f5548 100644 --- a/math.js +++ b/math.js @@ -5,6 +5,6 @@ exports.isStar = true; var c = 0; exports.sum = function (a, b) { - c = a + b; + c = a + b; return c; }; From 533e83b981f2124871fda971f16772ed044befb0 Mon Sep 17 00:00:00 2001 From: Rubtsov Ilya Date: Sun, 9 Oct 2016 21:45:49 +0500 Subject: [PATCH 5/6] =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B5=D0=B4=D0=B5=D0=BB?= =?UTF-8?q?=D0=BA=D0=B0=20=D1=87.4=20=D1=81=D0=BB=D0=BE=D0=B6=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=202-=D1=85=20=D1=87=D0=B8=D1=81=D0=B5=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- math.js | 1 + 1 file changed, 1 insertion(+) diff --git a/math.js b/math.js index 66f5548..364d4f9 100644 --- a/math.js +++ b/math.js @@ -6,5 +6,6 @@ var c = 0; exports.sum = function (a, b) { c = a + b; + return c; }; From cbabfeaf94b53378b6f3819fde056e025d55debe Mon Sep 17 00:00:00 2001 From: Rubtsov Ilya Date: Sun, 9 Oct 2016 21:50:33 +0500 Subject: [PATCH 6/6] =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B5=D0=B4=D0=B5=D0=BB?= =?UTF-8?q?=D0=BA=D0=B0=20=D1=87.5=20=D1=81=D0=BB=D0=BE=D0=B6=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=202-=D1=85=20=D1=87=D0=B8=D1=81=D0=B5=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- math.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math.js b/math.js index 364d4f9..37592ea 100644 --- a/math.js +++ b/math.js @@ -6,6 +6,6 @@ var c = 0; exports.sum = function (a, b) { c = a + b; - + return c; };