I came across this challenge when refactoring a functionality to return an item instead of an array, but I forgot to update the return value Within the if statement. I is not going to down vote but urge Devs to think about this rather then have null / empty checks https://plotsinsohna.in/