Hey, I hope this helps a little. Maybe the keyword that I chose can be changed later.
Preview
fomo semua foo dari bar
kalo foo itu 3
skip
perhaps foo itu 5
spill "Loop diakhiri"
stop
udahan
spill foo
udahan
// transforms to
for (const foo of bar) {
if (foo == 3) {
continue;
} else if (foo == 5) {
console.log("Loop diakhiri");
break;
}
console.log(foo);
}
Hey, I hope this helps a little. Maybe the keyword that I chose can be changed later.
Preview
Fix : Variable naming rules (commit )