Ad
  • Default User Avatar

    You get this exact error when you return an object of some sort (object literal, Set, RegExp etc) instead of an array. Can't view your answer to confirm since I haven't solved it myself.