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

Commit d681541

Browse files
authored
Merge pull request #1 from SandhyR/main
Change mapCompare
2 parents 8477333 + ee15885 commit d681541

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

jaksel-interpreter.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ function getCmd(cmdLines){
4141

4242
let mapCompare = {
4343
'itu': ' == ',
44-
'lebih gede': '>=',
45-
'lebih kecil': ' <= '
44+
'lebih gede': '>',
45+
'lebih kecil': ' < ',
46+
'lebih gede sama dengan': ' >= ',
47+
'lebih kecil sama dengan': ' <= '
4648
}
4749

4850
const isChild = (msg) => {
@@ -136,4 +138,4 @@ const execCmd = (cmds) => {
136138
}
137139

138140
const result = flexing(inputJaksel)
139-
execCmd(result)
141+
execCmd(result)

0 commit comments

Comments
 (0)