0
How do I start and end JavaScript programs?
New JavaScript coder here. I’m trying to make my very 1st program. But I don’t know what to type for the start & end of my JavaScript program. Can anyone give me the answer?
2 Respostas
+ 2
JavaScript doesn't use an entry or exit function. It reads all your variables, and executes your code top to bottom using a JIT (Just in time) compiler.
Write anything that you know, even if it's just
alert("Hello World!")