Can someone please explain why scissors isn’t being accepted as a string here?
This happens sometimes with the code editor, even if there isn’t anything wrong on that line. Sometimes it indicates there’s an issue on another line, such as a missing brace or missing optional semi-colon that can interfere with the highlighting.
Sometimes there are no issues on other lines at all. I’ve seen arrow functions cause this to happen occasionally.
Example:
But when I add a valid arrow function before the line:
Oh right. Thanks. It’s a little bit strange. Good to know though