Making an item's icon appear in a helpwindow

I'm making a battle system for my friend that involves mixing items to create skills. In the menu there's an option that lets players experiment with mixing things and a help window at the bottom displays the description of the resulting skill. NOW I'd like it to display the skill's icon as well but when I make the set text like this


Code:
Window_SpliceResult.prototype.setItem = function(item) {
    this.setText(item ? this.drawIcon(item.iconIndex, 0, 0) + " " +  item.description : '');
};

The icon will come up as "undefined" instead. if the same input is repeated it will display the icon on top of the "undefined" text, how do I go about making this help window show an Icon and then the text?

Original thread: https://forums.rpgmakerweb.com/threads/making-an-items-icon-appear-in-a-helpwindow.74456/