Ad
  • Custom User Avatar

    This is NOT how to do this. But it does randomly pass..... ha

  • Custom User Avatar

    I seperated the code to show how the first 4 "basic" pass with a certian math problem and the rest pass with a different math problem.

    The fact that the "expected"(on the left side) all change to 0's and pass seems very wrong and confusing.

    Sounds like I'm having issues because I am editing the array that was passed and not creating a new one.
    Maybe I'll find out why that is some day.

    I took a screenshot. http://prntscr.com/e6e6yb but apparently lightshot isnt working right now.
    If you try my code as it is you can see how the "random" section passes with all 0's with the occasional test failing.
    Initally the first 4 would pass and all the random would be "inverted" still with the same code so i made 2 seperate operations with one only affecting the "basic" ones that only had a few numbers. I only had x-x ==0 to show that that is passing. I understand that that would not invert anything. To invert a number you must simply subtract it from its self 2 times, positive or negative numbers work this way.

  • Custom User Avatar

    I believe this is broken in JS. I can pass all the Randoms with values = 0 but fail the basic values. Or I can pass the 4 basic and fail all the Random.