jiphy
jiphy copied to clipboard
while loop has wrong bracket position (py to JS)
In python
import jiphy
js_code = jiphy.to.javascript("""
while True:
sleep(2)
print("This is not in while loop")
""")
print(js_code)
And the output is:
;
while (true) {
sleep(2);
console.log('This is not in while loop');
}
bracket has wrong position