Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How does JavaScript runtime relate to C#?

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?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

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.

>Solution :

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.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading