Reading a non-existent entry returns undefined, not null. The indexBy call also lacked an actual list to work on. I confirmed that this works for both incorrect capitalization and lack of special characters (khazix matches Kha'Zix). Don't forget to update the version number if you merge this 😄
Reading a non-existent entry returns
undefined
, notnull
. The indexBy call also lacked an actual list to work on. I confirmed that this works for both incorrect capitalization and lack of special characters (khazix matches Kha'Zix). Don't forget to update the version number if you merge this 😄