Ad
  • Custom User Avatar

    That's cool; let me know if you need a hand with refactoring or the like :)

  • Custom User Avatar

    That's great (although you might be using a few too many hooks) - demo added to the description with credits :)

  • Default User Avatar

    It's ok already, had used return obj and return arr to check out the values.

  • Default User Avatar

    How to check the values of arr and obj for those two tests?

    I'm having the same problem and I can only see the below in output.

    Expected: 99060.49926193299, instead got: 49680.66357670399
    Expected: 99060.49926193299, instead got: 49680.66357670399

  • Custom User Avatar

    Check out the values of arr and obj for those two tests.. there's a bit of a trick to it.

  • Custom User Avatar

    Hi- thanks for your feedback, have you now submitted a solution? If you are still having problems with the tests please let me know and I'll look into it.