I am trying to teach myself JavaScript, and I am doing so by editing an existing program's files, but I would like to write a script, (not HTML) and run it, and see the console results to see what's going on instead of trying to get the output via odd ways.
Is there such a thing? I guess I am thinking like batch files where you can write one and then when it runs see what it is doing. I would also like to get console.log type output. Any ideas?
I am only interested in things like 2+2 = 4
– not trying to interface with anything.
I am just looking for a way to console.log
my script. I am not looking for libraries or custom variants of JavaScript engines.
Is there really no way to make a pure JavaScript that says 2+2 =
and run it in a console window?