Ad
  • Custom User Avatar

    (In JS) I am getting my returned result as undefined even though I am logging the correct result right before I return the object. Ideas?

  • Custom User Avatar

    Hi in the description and the sample tests it shows that:
    eg. drive([[10.0,100]], "20:00", "21:00") and it must return [1.0, false]

    I'm confused as to why it should return false as it takes 1 hour (20:00 to 21:00) to get rid of 1 unit.
    Thanks in advance!