WOW GOOD
I don't know why 0 * -1 = -0 in JavaScript which is very different from math. Every number that multiplies with 0 should be result in 0 right?
ofcourse!
Because that doesn't do what the problem requires.
This comment is hidden because it contains spoiler information about the solution
-0 is 0. Do you know what the word "bug" means? It means when actual behavior fails to match expected behavior, which is not the case here.
-0 is 0
bomboclacthat
Niceeee
You are storing the results in global scope, so any preceding function calls will cause the previously unnecessary values to accumulate.
Loading collection data...
WOW GOOD
I don't know why 0 * -1 = -0 in JavaScript which is very different from math. Every number that multiplies with 0 should be result in 0 right?
ofcourse!
Because that doesn't do what the problem requires.
This comment is hidden because it contains spoiler information about the solution
-0 is 0. Do you know what the word "bug" means? It means when actual behavior fails to match expected behavior, which is not the case here.
This comment is hidden because it contains spoiler information about the solution
-0 is 0
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
bomboclacthat
Niceeee
You are storing the results in global scope, so any preceding function calls will cause the previously unnecessary values to accumulate.
This comment is hidden because it contains spoiler information about the solution
Loading more items...