diff --git a/06-sum/index.js b/06-sum/index.js index 7f49509..ce8b529 100644 --- a/06-sum/index.js +++ b/06-sum/index.js @@ -1,15 +1,9 @@ export function sum(values) { // implementar logica aqui - if (toString.call(values) !== "[object Array]") - return false; - - var total = 0; - for(var i=0;i