Skip to content
#

bahasa-indonesia

Here are 53 public repositories matching this topic...

pveyes
pveyes commented Oct 21, 2018

Currently we can use any reserved word/token (such as var, if, etc) as identifier in naskah which won't be valid JS. The simplest thing we can do is add underscore before printing the identifier if it's a reserved word in JS

So that:

misal x = 3;
misal var = 2;

jika while benar {
} 

should be compiled to

var x = 3;
var _var = 2;

if (_while == true) {
}

Improve this page

Add a description, image, and links to the bahasa-indonesia topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the bahasa-indonesia topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.