Why are my apostrophe not working for marking a string?

When I try to mark a string in a function with apostrophe, the text between the apostrophe is not turning yellow but instead the text after the last apostrophe is. Screen Shot 2021-09-04 at 4.20.57 PM

I should imagine it’s just an error with CC’s syntax highlighting. When you put parameters in your function definition:

function someFinc(param){

The parameters shouldn’t be a string.

1 Like