Author Topic: Javascript Compiler  (Read 400 times)

I am currently working on a program mainly using confirm and prompt.

I need a compiler, but I don't know if HTML5 is the same as Javascript, because thats all its giving me when I search.

JavaScript doesn't get compiled - it is an interpreted language (just like HTML5). So, really all you need is your browser. Most browsers have some developer tools for working with HTML and JS - I recommend Chrome or Firefox.

I don't know if HTML5 is the same as Javascript

They come up together because they both work together in making web pages. HTML and JavaScript (along with other things like CSS sheets) both get sent to the client for interpretation. HTML gives you the visual layout and stuff like that, JavaScript is a clientside scripting language
« Last Edit: May 15, 2014, 09:58:15 AM by Headcrab Zombie »


Some possibilities I thought of as to the reason for this thread:

He's confusing compilation with ^ that (It takes away all stuff like whitespace, new lines, and comments I think it may reduce function/variable names to one letter as well, to reduce the filesize and therefore bandwidth usage sending it to clients.)
He confused Java with JavaScript
He didn't know how JavaScript worked and thought it was compiled
He wants a way to hide the source code from clients (You can't, you have to use a server-side language if what you're doing needs to be hidden, or if by "making a program" you mean an actual stand alone, not-website, application, use an actually compiled language)
« Last Edit: May 15, 2014, 10:10:01 AM by Headcrab Zombie »