The working code provided as the exemplar for teachers in Unit 7 Lesson 7 Level 2 Cat Rendomizer app throws an error after clicking on the “Show me Another!” button numerous times - some times 11, 46, or different number of times. The error message is: TypeError: e.replace is not a function
I don’t understand what was wrong? Can somebody help to figure it out? I have attached the code and the error message.