Jump to content

Talk:JScript

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by General Wesc (talk | contribs) at 18:51, 17 September 2006 (SpiderMonkey looks generational.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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]

Garbage Collection

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]