There are two questions:
The first one: In the parsing of JS, I found that there are two modes, strict mode and non-strict mode. So, I want to ask you, what is the difference between these two modes?
Second: When parsing JS, are all tokens parsed by reading files or are they defined separately?
There are two questions: The first one: In the parsing of JS, I found that there are two modes, strict mode and non-strict mode. So, I want to ask you, what is the difference between these two modes? Second: When parsing JS, are all tokens parsed by reading files or are they defined separately?
Hope you answer it, thank you very much!