I stumbled on this issue when refactoring a functionality to return an object as opposed to an array, but I forgot to update the return value In the if statement. J0HNJ0HN 27k55 gold badges5858 silver badges8888 bronze badges 5 ninety three The full context (most-upvoted response) is nice, but this https://affordablehousinggurugram.in/