Ad
  • Custom User Avatar

    Not a kata issue.

  • Custom User Avatar

    Print the arguments, and:

    Your task is to write a function that takes two or more objects and returns a new object which combines all the input objects.

    It does say two or more there. You don't need to discover anything if you read that.

  • Custom User Avatar

    I can't understand Incredible flight of the authors fantasy. In the example section he shows that function must work with 2 arguments, looking in base tests we need to discover that function can have three arguments... OK, I wrote solution that pass all base tests but when I press "Attempt" button I recived 10 passed and 11 wrong.
    I think the problem occours because of incorrect or incomplete initial information.

    How I can guess what data contains failed tests?

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Your usage of Object.defineProperty() makes no sense, I suggest you rethink that part of your code..

    Sorry for my previous message, I should have tested your code. Your code does produce very sensible results, the problem is that the properties defined by Object.defineProperty() are not enumerable by default, and assert.deepEquals() appears to consider that enumerability in its comparison. You need to find a way to make those properties enumerable.

  • Custom User Avatar

    The ISSUE tag if for issues with the kata, not issues with your solution.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution