From a7c5d982876b9efc2fc28099b1d57fa70ce61446 Mon Sep 17 00:00:00 2001 From: Abigail Edwards <63216164+aedward8@users.noreply.github.com> Date: Mon, 8 Mar 2021 10:43:10 -0800 Subject: [PATCH] Edge Case Clarification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit // for this example 13 in index 0 would skip over 13 in index 1. Should the value 2 in index2 know about the 13 in index 1 and be skipped or should it be counted because 13 in index 1 is skipped? console.log(sum13([13, 13, 2, 1, 2]))// → 3 --- challenges/74.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/74.js b/challenges/74.js index 9482062..130e188 100644 --- a/challenges/74.js +++ b/challenges/74.js @@ -13,4 +13,4 @@ function sum13(int_array){ return } -module.exports = sum13; +module.exports = sum13;