This project is read-only.

How to import built-in JavaScript functions

Feb 24, 2016 at 4:38 PM

Is there a way to import built-in JavaScript functions, for example alert() into the V8.NET execution engine? If I put JavaScript code which uses built-in functions, I get the error: so and so undefined.

Feb 24, 2016 at 6:22 PM
Edited Feb 24, 2016 at 6:23 PM
Alert is a browser feature, and nothing to do with the core JavaScript language itself (also goes for setTimeout, setInterval, etc.). You can build any browser functionality yourself, or consider using CEF (Chrome Embedded Framework) instead (such as CEFSharp).