Content deleted Content added
*server-side* Jscript in IIS since 1996 |
i added a citation |
||
Line 406:
A Web browser is by far the most common host environment for JavaScript. Web browsers typically create "host objects" to represent the DOM in JavaScript. The [[Web server]] is another common host environment. A [[Server-side JavaScript|JavaScript Web server]] would typically expose host objects representing [[HTTP]] request and response objects, which a JavaScript program could then interrogate and manipulate to dynamically generate Web pages.
Because JavaScript is the only language that the most popular browsers share support for, it has become a [[target language (computing)|target language]] for many frameworks in other languages, even though JavaScript was never intended to be such a language.<ref name="computerworld">{{cite web | last=Hamilton|first=Naomi|url=http://www.computerworld.com.au/article/255293/-z_programming_languages_javascript|title=The A-Z of Programming Languages: JavaScript|publisher=computerworld.com.au|date=2008-07-31}}</ref><ref>{{Cite web|url=https://www.thefreetutorials.com/|title=Paid Java Courses From Udemy For Everyone|last=Udemy Free Courses|first=Download Now|date=|website=The Free Tutorials|archive-url=|archive-date=|dead-url=|access-date=}}</ref> Despite the performance limitations inherent to its dynamic nature, the increasing speed of JavaScript engines has made the language a surprisingly feasible compilation target.
=== Example script ===
|