I discovered this concern when refactoring a function to return an object in lieu of an array, but I forgot to update the return value inside the if statement. This seems to be similar to this difficulty: Bogus "Property doesn't exist on style 'by no means'" when switching worth inside https://smartworlddeveloper.co.in/