+ 1
Javascript output error?
int x=8; if(x>9) { document.write(9); } else { document.write(x); }
2 Réponses
+ 5
There is no `int` keyword in js, instead of `int` use `let`, `var` or `const`.
0
Js is not strictly typed (there is no need to indicate its type when declaring a variable, just like in Py>:))