While going through the Understand the .NET debugger in Visual Studio Code section of one of the learning modules from MSFT Docs, I came across the following statement:
Global variables are accessible from everywhere in your program. System objects from the JavaScript runtime are also included, so don't be surprised if you see a lot of stuff in there.
Where does the JavaScript runtime come into picture while compiling and executing C# code?
There has been no mention of the JSRE in any of the previous learning modules, rather it talked about the .NET runtime environment and the .NET compiler.
Where does the JavaScript runtime come into picture while compiling and executing C# code?
It doesn't. --- Well exceptions are everywhere Blazor, WebAssemblies, SignalR.
The article is about the debugger - which is apparently capable of fetching data from multiple sources for convenience.
I must say I haven't debugged JavaScript with that particular debugger - I mainly stick to Visual Studio. I am curious to see what it can do. If it doesn't work: it must be a typo.