JavaScript
JavaScript is a prominent programming language that has been integral to web development since the late 1990s. Identified by the .js file extension, JavaScript allows users to engage with web content through features like asynchronous communication and interactive applications, which HTML alone cannot provide. Developed by Brendan Eich for the Netscape Navigator browser, JavaScript was initially named Mocha and later Livescript before being branded as JavaScript through a licensing agreement with Sun Microsystems. Although it shares some naming conventions with Java, the two languages serve different purposes; JavaScript targets web designers and non-programmers, while Java is designed for professional developers.
JavaScript is predominantly run in web browsers, but it also finds applications in locally run desktop software and PDF documents. Over the years, JavaScript has evolved with the help of various frameworks and technologies, such as Ajax and jQuery, which have become widely used in modern web development. The decline of Flash, due to its limitations and lack of support on certain platforms, has further solidified JavaScript's role as a key player in creating interactive web experiences. Today, JavaScript is managed by the Mozilla Foundation and has become a trademark of Oracle Corporation, reflecting its ongoing significance in the tech landscape.
On this Page
Subject Terms
JavaScript
JavaScript is one of the most popular programming languages for applications on the web and has been staple of web technology since the late 1990s. JavaScript files can be identified by their .js file extension. The language enables users to perform many of the tasks we now think of as being synonymous with the Internet. From asynchronous communication and productivity applications to photo sharing and social games, JavaScript enables users to interact directly with web content. Features such as recognizing keystrokes and expediting responsiveness by virtue of local hosting go beyond the capabilities of HTML (hypertext mark-up language). Web browsers are the most common hosting environments for JavaScript, but JavaScript is also used outside of webpages in things like small, locally run desktop applications and PDF documents.
![Beich. Brendan Eich. By AcidJazzed at en.wikipedia [see page for license], from Wikimedia Commons 89550593-58348.jpg](https://imageserver.ebscohost.com/img/embimages/ers/sp/embedded/89550593-58348.jpg?ephost1=dGJyMNHX8kSepq84xNvgOLCmsE2epq5Srqa4SK6WxWXS)
Overview
JavaScript was developed by Brendan Eich in the mid-1990s for the Netscape Navigator web browser with the hope that it could function as a sort of distributed operating system that could compete with Microsoft. It was called Mocha, and later Livescript during its initial development. Netscape agreed on a license with Sun Microsystems, the creator of the programming language Java, to finally call it JavaScript. According to Eich, as quoted in an interview for InfoWorld, “the idea was to make it a complementary scripting to go with Java.” Individuals not familiar with web programming sometimes confuse JavaScript with Java. While JavaScript takes some of its naming conventions from Java, the languages have little else to do with one another. Unlike Java, which is intended for professional computer programmers, JavaScript was aimed at web designers and other non-programmers.
JavaScript is not the only technology that freed web users from the constraints of HTML. Flash, originally built in the 1990s by Macromedia (and later managed by Adobe), was a popular solution for web designers and developers seeking to add interactivity to their web pages. In certain respects, Flash exceeded many of the early capabilities of JavaScript, and JavaScript had fallen out of style among many designers and developers. Nonetheless, communities of JavaScript developers worked to create many popular frameworks and technologies that are ubiquitous on the web in the 2010s and 2020s, such as Ajax, jQuery, Dojo, and Prototype.
Flash had its own constraints that kept web applications from meeting the needs of users. For instance, Flash requires a special extension to be added to each browser, and the extension requires frequent updates. Flash applications were also self-contained are also generally divorced from all the other content on the web page and thus their contents are not indexed by search engines.
When the Flash plug-in was excluded from the Apple iPhone’s Safari browser, the web development community further renewed its interest in JavaScript. In 2010, JavaScript became a trademark of the Oracle Corporation and was licensed by Netscape Communications and the Mozilla Foundation. In 2024, a letter signed by over 14,000 people, including Eich and spearheaded by programmer Ryan Dahl, urged Oracle to release the trademark on JavaScript.
Bibliography
Claburn, Thomas. "Oracle Urged Again to Give Up JavaScript Trademark." The Register, 17 Sept. 2024, www.theregister.com/2024/09/17/oracle‗urged‗to‗surrender‗javascript‗trademark/. Accessed 28 Jan. 2025.
Goodman, Danny, Michael Morrison, and Brendan Eich. Javascript Bible. Wiley, 2007.
"History of JavaScript." Geeks for Geeks, 9 June 2024, www.theregister.com/2024/09/17/oracle‗urged‗to‗surrender‗javascript‗trademark/. Accessed 28 Jan. 2025.
Krill, Paul. “JavaScript Creator Ponders Past, Future.” InfoWorld, 23 June 2008, www.infoworld.com/article/2174329/javascript-creator-ponders-past-future.html. Accessed 28 Jan. 2025.
Lane, Jonathan, et al. “JavaScript Primer.” Foundation Website Creation with HTML5, CSS3, and JavaScript. Apress, 2012.
Severance, Charles. “JavaScript: Designing a Language in 10 Days.” Computer, vol. 45, no. 2, 2012, pp. 7–8.
Simpson, Kyle. JavaScript and HTML5 Now. O’Reilly Media, 2012.
Wright, Tim. Learning JavaScript: A Hands-On Guide to the Fundamentals of Modern JavaScript. Addison, 2012.
Yule, Daniel, and Jamie Blustein. “Of Hoverboards and Hypertext.” Design, User Experience, and Usability. Design Philosophy, Methods, and Tools. Springer, 2013.