Strange error shown in Visual Studio Code

I tried the following codes and they work well in emission lasers, but I don’t know why it shows some errors in visual studio code.
image

Hi,

Welcome to our community! :slight_smile:

Where are the errors? Are there any error messages in your console? If so, what do the messages say?