Skip to content

Commit 6343c53

Browse files
authored
Update func.js
1 parent 9fbff39 commit 6343c53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jive/func.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function jive() {
1818
} else if (code[p] == "↑") { out += "["+s+"]"
1919
} else if (code[p] == ":") { while (code[p] !== ":" ) { p++ }
2020
} else if (code[p] == "!") { s.push(fact(s.pop()))
21-
} else if (code[p] == "[") { s.push( r( 1, s.pop() + Number(1) ) ) }
21+
} else if (code[p] == "[") { s.push( r( 1, Number( s.pop() + 1) ) ) }
2222
p++
2323
}
2424
document.getElementById("o").innerHTML = out //output the out variable

0 commit comments

Comments
 (0)