I discovered this problem when refactoring a purpose to return an object as opposed to an array, but I forgot to update the return benefit In the if assertion. J0HNJ0HN 27k55 gold badges5858 silver badges8888 bronze badges five ninety three The full context (most-upvoted solution) is nice, but this remedy https://trehan-floors.in/