We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fbff39 commit 6343c53Copy full SHA for 6343c53
jive/func.js
@@ -18,7 +18,7 @@ function jive() {
18
} else if (code[p] == "↑") { out += "["+s+"]"
19
} else if (code[p] == ":") { while (code[p] !== ":" ) { p++ }
20
} else if (code[p] == "!") { s.push(fact(s.pop()))
21
- } else if (code[p] == "[") { s.push( r( 1, s.pop() + Number(1) ) ) }
+ } else if (code[p] == "[") { s.push( r( 1, Number( s.pop() + 1) ) ) }
22
p++
23
}
24
document.getElementById("o").innerHTML = out //output the out variable
0 commit comments