The Dead code on the track
Integration of new interfaces
The update brings three new ones with the web-compatible APIs for interaction with users: Alert, Confirm and Prompt.
- Alert logs a message to the terminal and then blocks synchronously until the confirmation with ENTER.
- Confirm calls for users with a message for confirming and then blocks synchronously until the user answers either with Y or N (to signal yes or no).
- Prompt calls for users to an input and then blocks synchronously until the user has entered the text and printed Enter.
Interested parties can run via Deno Run Https: // Deno.Country / Posts / V1.5 / alert_confirm_prompt.JS. Start a demo of the new feature.
New functions according to REPL review
With the current version of Deno, the developers have handled the Read Eval Print Loop (REPL). This makes new features such as Tab Completion, Code Syntax Highlighting and Top Level Await. The latter allows developers to use the Await Keyword also outside Async functions.
Developers who already use Deno can install the current version over Deno Upgrade. For newcomers there is a guide to installation in the release notes. There, interested parties also receive further information about Deno 1.5.