I came across this situation when refactoring a functionality to return an object as opposed to an array, but I forgot to update the return benefit Within the if assertion. J0HNJ0HN 27k55 gold badges5858 silver badges8888 bronze badges 5 ninety three The entire context (most-upvoted reply) is nice, but this https://smartworlddeveloper.co.in/