Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
JScript
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Comparison to JavaScript == As explained by [[Douglas Crockford]] in his talk titled ''The JavaScript Programming Language'' on YUI Theater, {{quote|[Microsoft] did not want to deal with [[Sun Microsystems]] about the trademark issue, and so they called their implementation JScript. A lot of people think that JScript and JavaScript are different but similar languages. That's not the case. They are just different names for the same language, and the reason the names are different was to get around trademark issues.<ref>Douglas Crockford, ''The JavaScript Programming Language''</ref>}} However, JScript supports conditional compilation, which allows a programmer to selectively execute code within [[block comments]]. This is an extension to the [[ECMAScript]] standard that is not supported in other JavaScript implementations, thus making the above statement not completely true, although conditional compilation is no longer supported in Internet Explorer 11 Standards mode. Other internal implementation differences between JavaScript and JScript, at some point in time, are noted on the [[Microsoft Developer Network]] (MSDN).<ref>{{cite web|url=https://blogs.msdn.microsoft.com/gauravseth/2007/08/15/the-world-of-jscript-javascript-ecmascript/ |title=The World of JScript, JavaScript, ECMAScript |date=15 August 2007 |publisher=Blogs.msdn.microsoft.com |access-date=2017-10-21}}</ref> The default type value for the script element in Internet Explorer is JavaScript, while JScript was its alias.<ref>{{cite web|url=https://msdn.microsoft.com/en-us/library/ms535892(v=vs.85).aspx |title=script element |publisher=Msdn.microsoft.com |access-date=2017-10-16}}</ref> In an apparent transition from JScript to JavaScript, online, the Microsoft Edge [Legacy] Developer Guide refers to the Mozilla MDN web reference library as its definitive documentation.<ref>{{cite web|url=https://docs.microsoft.com/en-us/microsoft-edge/dev-guide |title=Microsoft-Edge Dev-Guide |publisher=Docs.microsoft.com |access-date=2017-10-18}}</ref> As of October 2017, Microsoft MSDN pages for scripting in Internet Explorer are being redirected there as well.<ref>{{cite web|url=https://blogs.windows.com/msedgedev/2017/10/18/documenting-web-together-mdn-web-docs/ |title=Documenting the Web Together |date=18 October 2017 |publisher=Blogs.windows.com |access-date=2017-10-18}}</ref> This information may not include JScript specific objects, such as Enumerator, which are listed in the JavaScript language reference on Microsoft Docs.<ref>{{cite web|url=https://docs.microsoft.com/en-us/scripting/javascript/javascript-language-reference |title=Javascript Language Reference (Microsoft Docs) |publisher=Docs.microsoft.com |access-date=2017-10-18}}</ref> Those provide additional features that are not included in the ECMA Standards, whether they are supported in the [[Microsoft Edge Legacy|Edge [Legacy] browser]] or its predecessor.<ref>{{cite web|url=https://docs.microsoft.com/en-us/scripting/javascript/reference/javascript-objects |title=JavaScript Objects (Microsoft Docs) |publisher=Docs.microsoft.com |access-date=2017-10-18}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)