sketchub icon

JavaScript Console

BlueWhaleYT
32 Likes
2 Comments
289 Downloads

Screenshots

About

A simple javascript console, you can type javascript code and the console will output the result. You can use it with your HTML Editor.

The console view is used with Sora editor, in order to have some highlighting.

The method of outputting javascript codes from a webview is to load url with the prefix of javascript:, e.g. javascript:console.log("Hello World").

There is a limitation in the console, like console.table({"Name": "apple", "Type": "red"}). You need to use JSON.stringify() to do this, this has been shown in the screenshot.

The project is created with Sketchware Pro v6.4.0-rc-04.

©2024 Sketchub | User Policy