Not all coding is easy. Well, that challenge is about to get easier with Visual JavaScript 25.
The page covers:
Let's learn the basics of Visual JS. This docs page aims to cover every aspect of the lang as possible, but not all of them may be listed.
script.echo()
script.echo
prints ("string")
to the console. It's a simple way, yet minimalist, to start making a program.
script.echo("Hello, world!")
let [name] = [value]
let
lets the user modify a variable. The variable can be assigned anytime on the program, as it can be modified anytime later, unlike a const
in regular JavaScript, that is fixed to a value.
let name = "Jones"
script.echorich("Hello, "+name+"!")
script.echorich()
script.echorich
prints ("string"+myvar)
to the console. Unlike standard script.echo()
, which is limited to regular strings only, it supports variable printing. Usage already exists.
script.perms.reqajs
script.perms.reqajs
is a permission expression that asks the user to allow arbitrary JavaScript to run on the Visual JavaScript program. Although risky, may come with benefits, but is not recommended. No usage exists because the object does not have parameters.
script.shell.popups()