Hi All!
I am getting this error “TypeError: Cannot read properties of undefined (reading ‘toLowerCase’)” after running this request. See image below for reference:
Hi All!
I am getting this error “TypeError: Cannot read properties of undefined (reading ‘toLowerCase’)” after running this request. See image below for reference:
It’s most likely not the toLowerCase() function that is the issue, but the previous variable that is probably undefined (or maybe not a string - it’s not a Boolean is it?).
Try getting the iteration data into its own variable first, and console logging it.
Then convert it to lower case on a separate line.
Once you have it working, then you can combine the two commands.
Thank you for your response It’s working already.