Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
wasmedge-quickjs
A high-performance, secure, extensible, and OCI-complaint JavaScript runtime for WasmEdge.
prompt() is a Web API. The Web API is implemented by browsers that run JavaScript and prompt() is available as a global (no import needed) in those browsers. JavaScript isn't limited to browsers, however, and other runtimes exist that run in other environments. NodeJS (NodeJS) is the most popular, but it does not implement the Web API and instead has its own set of APIs that are specific to running JavaScript on the desktop. This is what onecompiler.com uses. You can see that running the following on onecompiler:
Technically you can create a C shared object and import that shared object into QuickJS, see https://github.com/rsenn/qjs-modules, also https://github.com/second-state/wasmedge-quickjs.
Technically you can create a C shared object and import that shared object into QuickJS, see https://github.com/rsenn/qjs-modules, also https://github.com/second-state/wasmedge-quickjs.