Ad
  • Custom User Avatar

    Hi, the first tests on this array are done once asking for the 1st floor (which should return the 6 names), then for the 2nd floor (which should return no names).

    So once your function has to return all six names (floor == 1), then none (floor == 2)

  • Default User Avatar

    My test result was

    Test Failed: Expected: {"b":2,"y":1,"o":1}, instead got: {"b":2,"y":1,"o":1}

    I find this funny...

  • Default User Avatar

    I am really having a hard time understanding what is required.
    I try to read the test to understand what is being asekd.
    If I look at the given test data

    var a = [ "foo", "bar", "foobar", "barfoo", "foofoo", "barbar" ];

    I see that there are six items in the array, therefore the first floor should be this array exactly, but that doesn't seem to be the desired result.

    Could someone pleae explain, I think I am missins something vital in the instruction.