+ 3
I need help!
I am trying to make a Web compiler, but the JavaScript isnât working. Can you please tell me why? The JS bit is on line 128. https://code.sololearn.com/W1z07a40ViYp/?ref=app
6 RĂ©ponses
+ 3
Hi Rowsej
If I put this into the JS editor
let a=10;
let b=20;
a+b;
I get 30 as the result.
Is this not what you expect?
+ 2
hmm alert works for me
+ 2
Me too
+ 2
Mike Choy and KrOW:
I was testing, and found that strings donât work, though you can still alert numbers...
+ 1
it works for me, even with the typo at line 2. - what I type between the body tag is parsed below after click on run.
+ 1
Mike Choy:
If I type alert(âHi!â); into the JavaScript editor, it comes up with a script error for me. The doing the JS bit is right at the bottom.