Skip to content
This repository was archived by the owner on Aug 5, 2024. It is now read-only.

Commit a4b3ec4

Browse files
committed
update Command.md
1 parent 2256bec commit a4b3ec4

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Command.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,16 +85,32 @@ Comparison :
8585

8686
```
8787
fomo i endup 10
88+
kalo i itu 4
89+
spill "continue"
90+
skip
91+
udahan
8892
kalo i lebih gede 3
8993
spill "loop ke " + i
9094
udahan
95+
kalo i itu 8
96+
spill "break"
97+
stop
98+
udahan
9199
udahan
92100
93101
// transform to
94102
for (let i = 0; i < 10; i++) {
103+
if (i == 4){
104+
console.log("continue");
105+
continue;
106+
}
95107
if (i > 3){
96108
console.log("loop ke " + i);
97109
}
110+
if (i == 8){
111+
console.log("break");
112+
break;
113+
}
98114
}
99115
```
100116

0 commit comments

Comments
 (0)