Formatting
kscript fmt and Format Document tidy .kscript files: indentation, one statement per line, } else {, and spacing after commas and colons and around =. The rules, the settings in kscript.json and the // kscript-fmt: off comments are described in Formatting.