The userscript barfs on the line emojiA.localeCompare(emojiB) when emojiA is a non-string type. This happened to me because I have an item called "The Answer" which is represented in the save data as follows:
{
"text": "The Answer",
"emoji": 42,
"discovered": false
}
The userscript barfs on the line
emojiA.localeCompare(emojiB)
whenemojiA
is a non-string type. This happened to me because I have an item called "The Answer" which is represented in the save data as follows: