That will return ```{}``` instead of ```undefined```. Would you like me to rewrite like so?
```var temp = item.split(";");
if (temp.length > 2) {
        final[temp[0]] = [temp[1], temp[2]];
} else {
        return undefined;
}```