I stumbled on this concern when refactoring a purpose to return an item in place of an array, but I forgot to update the return benefit In the if assertion. J0HNJ0HN 27k55 gold badges5858 silver badges8888 bronze badges 5 93 The complete context (most-upvoted answer) is good, but this solution https://conscientparqgurugram.in/