Ad
  • 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

    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.