I discovered this concern when refactoring a purpose to return an object as an alternative to an array, but I forgot to update the return value In the if statement. J0HNJ0HN 27k55 gold badges5858 silver badges8888 bronze badges five 93 The entire context (most-upvoted solution) is sweet, but this remedy https://affordablehousinggurugram.in/