Talk:JScript

Latest comment: 7 years ago by The Transhumanist in topic Maintenance and rating of JavaScript articles
WikiProject iconMicrosoft: .NET Start‑class
WikiProject iconThis article is within the scope of WikiProject Microsoft, a collaborative effort to improve the coverage of articles relating to Microsoft on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StartThis article has been given a rating which conflicts with the project-independent quality rating in the banner shell. Please resolve this conflict if possible.
???This article has not yet received a rating on the project's importance scale.
Taskforce icon
This article is supported by WikiProject .NET (assessed as Low-importance).

comment edit

Regarding: "When web developers talk about using JavaScript in Internet Explorer, they silently mean JScript in Internet Explorer." I think this statement is a) vauge b) confusing c) most likely false If an html page contains <SCRIPT language="javascript"> etc., then IE is going to read this script as javascript. IE does not translate javascript into JSCRIPT behind the scenes. Developers do not write <SCRIPT language="jscript"> if they intend a page to render on IE only (which is an unheard of practice anyway). JSCRIPT is more often used in ASP pages as a server-side scripting language. August 17, 2005 BJF

  • Well, you are right in that IE does not translate JavaScript into JScript behind the scenes. Instead it will read it directly as JScript, which is (at least) mostly compatible with JavaScript. Because of that, yes you are right that developers do not write <SCRIPT language="jscript"> if they intend a page to render on IE only (which is an unheard of practice anyway). Yuhong 15:45, 10 January 2006 (UTC)Reply
  • IE loads the script engine registered to handle the language requested in the script tag. On a standard Windows installation (checking on WinXP SP2), JScript, ECMAScript, JavaScript, JavaScript1.1, JavaScript1.2, JavaScript1.3 and LiveScript all maps to the Microsoft JScript engine. However, it is perfectly possible to configure the system to use different engines for these languages. PhMajerus 17:01, 13 April 2007 (UTC)Reply
  • Specifying "JScript" explicitely as the language both makes sure that the JScript engine is used even if other engines are configured to handle other related languages, and make browsers that do not support JScript language extensions ignore that script block. So specifying JScript, ECMAScript or javascript explicitely depending on the language features required to run the script can be used to hide a script from browsers that do not support that specific version of the language PhMajerus 17:01, 13 April 2007 (UTC)Reply
  • Note JScript 5.7 (included in Windows Internet Explorer 7.0) includes a JScript.Compact engine. While JScript is a superset of the full ECMAScript (ECMA-262), JScript.Compact limits its features to those required by the ECMAScript Compact Profile (ES-CP, ECMA-327). A runtime error is thrown when a feature not required by the ES-CP specifications is used. (I could not find official information about JScript.Compact, I discovered this engine when experimenting with JScript 5.7) PhMajerus 17:01, 13 April 2007 (UTC)Reply
OK so why remove that sentence? edit

It seems that many pages use the terms JavaScript when they really mean "Jscript" and that sentence ("When web developers talk about using JavaScript in Internet Explorer, they silently mean JScript in Internet Explorer.") is very helpful. See, e.g., this page. What I want to know is whether IE implements JavaScript or JScript. Is it possible to force IE to use JavaScript and not Jscript? It appears that if it is IE, then it is executing Jscript and not JavaScript. This is an important fact that should not be left out of the article. I suggest reinserting the sentence or something like it.--Lenehey 00:18, 17 July 2007 (UTC)Reply

Garbage Collection edit

SpiderMonkey also uses mark-and-sweep garbage collection, but I can't find anything stating whether it's generational or non-generational. -- General Wesc 15:12, 17 September 2006 (UTC)Reply

Judging by jsarena.h, I'd say SpiderMonkey's generational, but I'm not certain. -- General Wesc 18:51, 17 September 2006 (UTC)Reply
I am not certain, although there definitely is a difference, causing any object with a circular reference to a native object in IE to leak memory (as if those were reference-counted, or rooted), while this does not occur with SpiderMonkey used in Mozilla based browsers --66.11.179.30 09:25, 20 September 2006 (UTC)Reply

Created vs plagiarized edit

JScript is a computer programming language created by Microsoft and is a superset of the ECMAScript programming language. or better JScript is a computer programming language plagiarized by Microsoft and is a superset of the ECMAScript programming language.

It also seemed weird to me, fixed. --asqueella 13:16, 12 August 2007 (UTC)Reply

Browsers edit

So Jscript only appears in internet explorer browsers as it is microsoft only? Transaction Go (talk) 06:52, 9 September 2009 (UTC)Reply

JScript is not Javascript edit

JScript is not Javascript has a simple example of problematic differences between the two. The JScript article really should be more clear about the differences, but the current content is very vague. --—Preceding unsigned comment added by 63.175.18.130 (talkcontribs) 23:06, 11 September 2009 (UTC)Reply

It is not a language difference, it is host environment difference. IE installs those variables in global, not JScript. You will also get them if you use Perl or VB on same host and you will not get them (obviously), if you run it it in wscript.exe/cscript.exe. Statement about this being a language difference is completely wrong and I will remove it in a few days unless anybody have any valid objection. --Rowaa[SR13] (talk) 06:57, 25 June 2010 (UTC)Reply
To clarify: what said above applies to entire sentence that refers to article at About.com - those "extra commands" mentioned are just a host object functions. So I will remove this sentence completely with both references. --Rowaa[SR13] (talk) 08:28, 25 June 2010 (UTC)Reply

Some additional suggestions edit

I think this article would benefit from an example, and possibly some historical information (although this is possibly covered to great extent by historical notes in JavaScript and ECMAScript. Also, I don't think that ECMAScript influenced JScript in the sense meant by "Influenced" in the Infobox. As of this date, I think the article is much improved since it was tagged as having multiple issues (e.g. the notes and references have been cleaned up and reviewed). DonToto (talk) 13:26, 8 June 2010 (UTC)Reply

IE9 should refer to JavaScript, not to JScript edit

Checking the MSDN for JScript, IE 8 will be the last browser to use JScript, and IE9 onward will use JavaScript. The main difference is that

  • JScript uses the Windows Script Host platform and refers to EcmaScript 3 for its syntax
  • JavaScript uses Chakra and refers to EcmaScript 5 for its syntax

I think this information should appear on the page. For an example in Versions section, we have to indicate that IE 9 will use JavaScript moving forward.

Let me know your thoughs on how to best present the information.

OnesimusUnbound (talk) 05:44, 15 October 2012 (UTC)Reply

Maintenance and rating of JavaScript articles edit

Concerning editing and maintaining JavaScript-related articles...

Collaboration... edit

If you are interested in collaborating on JavaScript articles or would like to see where you could help, stop by Wikipedia:WikiProject JavaScript and feel free to add your name to the participants list. Both editors and programmers are welcome.

Where to list JavaScript articles edit

We've found over 300 JavaScript-related articles so far. If you come across any others, please add them to that list.

User scripts edit

The WikiProject is also taking on the organization of the Wikipedia community's user script support pages. If you are interested in helping to organize information on the user scripts (or are curious about what we are up to), let us know!

If you have need for a user script that does not yet exist, or you have a cool idea for a user script or gadget, you can post it at Wikipedia:User scripts/Requests. And if you are a JavaScript programmer, that's a great place to find tasks if you are bored.

How to report JavaScript articles in need of attention edit

If you come across a JavaScript article desperately in need of editor attention, and it's beyond your ability to handle, you can add it to our list of JavaScript-related articles that need attention.

Rating JavaScript articles edit

At the top of the talk page of most every JavaScript-related article is a WikiProject JavaScript template where you can record the quality class and importance of the article. Doing so will help the community track the stage of completion and watch the highest priority articles more closely.

Thank you. The Transhumanist 01:10, 12 April 2017 (UTC)Reply