JavaScript

JavaScript, (formerly LiveScript) is a simple, cross-platform, web scripting language, only vaguely related to Java (a trademark of Sun Microsystems, now owned by ). JavaScript is intimately tied to the web, and currently runs in only three environments - as a server-side scripting language, as an embedded language in server-parsed HTML, and as an embedded language run in web browsers where it is the most important part of DHTML (now HTML5).. 2003-04-28.
Mac users can utilize Script Editor to create and test JavaScript for automation, as well as save it as an app.About Script Editor on Mac, Apple Support. Accessed 2021-10-10.
==Description==
JavaScript originated from and, for a time, only their products supported it. Microsoft introduced a work-alike in Internet Explorer called . The resulting inconsistencies made it more difficult to write JavaScript that behaved the same in all browsers. This could be attributed to the slow progress of JavaScript through the standards bodies.
JavaScript has a simplified C-like syntax and is tightly integrated with the browser . It is useful for implementing enhanced s, simple web database s, and navigation enhancements. It is unusual in that the scope of variables extends throughout the function in which they are declared rather than the smallest enclosing block as in C.
JavaScript runs "100x" slower than C, as it is purely interpreted (Java runs "10x" slower than C code). Netscape and its allies described JavaScript as an "open standard" in an effort to keep Microsoft from monopolizing web software as they have desktop software. Netscape and Sun Microsystems co-operated to enable Java and JavaScript to exchange messages and data.
==References==
==External links==
*Visual JavaScript at Netscape (archived 1997-04-19, 1997-06-14)
*If features on a webpage don’t work in Safari on Mac at Apple Support
**Add JavaScript scripts to a workflow in Automator on Mac
**Intro to the Run JavaScript on Webpage action in Shortcuts on iPhone or iPad
**Script Editor User Guide
*Controlling Media with JavaScript at Apple Developer
*JavaScript.info the modern JavaScript tutorial
*JavaScript at Logopedia
* at Wikipedia
Category:Scripting languages