Skip to content

Commit

Permalink
Update 006.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Walker30263 authored Aug 10, 2021
1 parent 44bc81b commit 641e8db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 006.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ function solution(x) {
return Math.abs(squareOfSums - sumOfSquares); //return the absolute difference, absolute value gets rid of the sign just in case it's negative
}

console.log(solution(100))
console.log(solution(100)) //tells you the answer!

0 comments on commit 641e8db

Please sign in to comment.