Heh... but Javascript is so permissive you can just start writing psuedocode and it'll probably be valid!
63 0 Replyeval('alert("Yep")')
23 0 Reply29 0 Reply
const notThree = 1 + '2';
6 0 ReplyAnd it will do... something.
6 0 ReplyPerhaps more than one thing, who can know?
2 0 Reply
Sorry bro, if you think JavaScript is difficult, then you're just too weak.
33 0 ReplyPeople should be able to do this, at least for simple programs. We used to do it all the time.
32 0 ReplyEveryone should be able to do a hello world without IDE
14 0 Reply
Hello World isn't that difficult to write.
He never said it had to be a useful program.
31 0 ReplyNP, dude. As someone who learned JavaScript in the dark ages, when IE had to be a consideration for everything you did, writing a JS program now is trivial.
27 0 Replyw3school
21 0 ReplyMDN ftw, screw stackoverflow.
35 0 ReplyMDN is better at everything than w3school, except for SEO.
7 0 ReplyAny time I need to learn something about JS, I go to W3Schools to wrap my head around the basics, then over to MDN for current best practice.
3 0 Reply
I think I'd be okay up until you pulled intellisense, at which point I would literally deflate like a balloon.
16 0 Reply"Every time you try to run your code the pendulum will drop lower until...."
Extremely loud crash as pendulum is rocketed into the ground by all the failed run attempts
10 0 ReplyVar x = 1+"two"
Console.Log(x)
Done! I did it. I wrote a program.
9 0 ReplyNot gonna run with those capital letters
6 0 ReplyIt was never specified to run without errors.
3 0 Replyconsole.log("You had one job.");
2 0 Reply
Do people not read books anymore?
4 0 ReplyHe got so upset he put on glasses and grew facial hair!
4 0 ReplyBecause that’s how long he’s been trying to solve it
3 0 Reply
hello world (: (smiley being the wrong way was on purpose)
4 0 ReplyLearn JavaScript. It's a pretty good language. 👍
3 0 Replyvar a = 0
Done
3 0 ReplyJust used he internet archive to open stackoverflow
2 0 ReplyOk... He didn't say it had to be complicated or anything. Just make a magic 8 ball.
2 0 Replyhey, an empty file is also a valid program. it does nothing. (like me :p)
1 0 Reply