Press Ctrl+Enter, or click the "Run" button.
- Type hint annotation
E.g.
//<T>''.│//<''>,[].│//<[]>, ect. (│repr a caret) - Alphabetic completion
For example, to getdocument.getElementById, you can of course enterdocument.id, but in addition, enteringdocument.gidanddocument.gIdwill have a very different effect – only the latter will bring up the completion, and this is something the developer (me) stumbled upon rather than by design.
- if (code.endsWith(...)):
- ... =
//.: Do not output the return value - ... =
//..: Force output return value (To override the default behavior of not returning the value of the entire program if the program contains_console.log) - ... =
//.JSON:JSON.stringifythe return value
- ... =
- Database:
getItem,setItem,delItem,clearDB $load( scriptsURLs ):scriptsURLscan be a string or tuple or array.
E.g. load some well-known frameworks:- VS Code (Monaco Editor):
$load.presets.VSCode()$VSCode()$VSCode(lang='julia')
- TensorFlow.js:
$load('@tensorflow/tfjs')
- VS Code (Monaco Editor):
- Other
$str:JSON.stringifyindented with two spaces$clear: Clear outputs
setItem('custom:run-after-loading', 'alert("Hi")')