JavaScript Language

Also: HTML, AJAX, DOM Scripting, HTML5 Web Apps jQuery JS: on the server, on Embedded Devices, on SmartPhones, I/O w/Physical Devices,

Tutorials:

References

FAQs:

Tools:

Samples:

Scriptlets:

Languages written in Javascript:

See also:

Questions:

Image Processing in the Browser with JavaScript

Web Video Graphics

Gotcha: [6,2,-2,-7].sort() gives -2, -7, 2, 6 Despite being declared as numbers in the array, the default sort comparison treats them as strings. So both strings starting with "-" come before "2" and "6", but then "2" is less than "7" in the strings. You have to pass sort() a function that does a numerical comparison e.g. [6,2,-2,-7].sort((a,b) => a > b)