Ad
  • Default User Avatar

    You can replace win === true with win
    because win is already a boolean

  • Default User Avatar

    I don't get it, in (8.1,5,3) and (1.99, 5, 3) in Javascript when the bigger number from the first two is substracted by the other the result for the first one is 3.09 and the other 3.01 which are both bigger than the margin 3.Why is the solution for the first one 1 and for the other -1?