Ағылшыншамен салыстырыңыз: абзацты басыңыз — түпнұсқа терезеде ашылады. Абзац астындағы EN түймесі оны мәтін ішінде көрсетеді.
Мазмұны
Кіріспе
Microsoft компаниясының ECMAScript-ті іске асыруы
Implementation of ECMAScript by Microsoft
JScript – Microsoft компаниясының Internet Explorer веб-браузерінде қолданылатын ECMAScript стандартының ескі нұсқасы. JScript Active Scripting қозғалтқышы ретінде іске асырылады. Бұл оны Internet Explorer, Active Server Pages және Windows Script Host сияқты Active Scripting қолдауын көрсететін OLE Automation қолданбаларына "қосуға" мүмкіндік береді. Сондай-ақ, мұндай қолданбалар JScript, VBScript немесе PerlScript сияқты бірнеше Active Scripting тілін қолдана алады. JScript алғаш рет 1996 жылдың тамызында жарық көрген Internet Explorer 3.0 браузерінде қолдау көрсетті. Оның ең соңғы нұсқасы – JScript 9.0, ол Internet Explorer 9 құрамына кіреді. JScript 10.0 – ECMAScript стандартының тоқтатылған төртінші нұсқасынан жаңа мүмкіндіктерді қосқан жеке диалект, сонымен қатар JScript NET деп те аталады. Ол NET Framework 2 немесе 4 нұсқасы үшін компиляциялануы керек, бірақ статикалық типтемелер міндетті емес. JScript қауіпсіз емес және "мемлекеттік деңгейдегі актерлер пайдаланған" бірнеше қауіпсіздік кемшіліктері бар деген сындарға ұшырады, бұл Microsoft компаниясын оны өшіру опциясын қосуға мәжбүр етті.
JScript is Microsoft's legacy dialect of the ECMAScript standard that is used in Microsoft's Internet Explorer web browser. JScript is implemented as an Active Scripting engine. This means that it can be "plugged in" to OLE Automation applications that support Active Scripting, such as Internet Explorer, Active Server Pages, and Windows Script Host. It also means such applications can use multiple Active Scripting languages, e. g., JScript, VBScript or PerlScript. JScript was first supported in the Internet Explorer 3.0 browser released in August 1996. Its most recent version is JScript 9.0, included in Internet Explorer 9. JScript 10.0 is a separate dialect, also known as JScript NET, which adds several new features from the abandoned fourth edition of the ECMAScript standard. It must be compiled for NET Framework version 2 or version 4, but static type annotations are optional. JScript has been criticized for being insecure and having multiple security bugs "exploited by nation state actors", leading Microsoft to add an option to disable it.
JScript (COM Classic) (жаңадан жасалған)
JScript – бұл Active Scripting қозғалтқышы. Басқа Active Scripting тілдері сияқты, ол COM/OLE Automation платформасында құрылған және хост-қосымшаларға скрипттерді пайдалану мүмкіндігін ұсынады. Бұл нұсқа JScript-ті Internet Explorer-де көрсетілетін веб-беттерде, IE9-дан бұрынғы HTML-қосымшаларда, сондай-ақ классикалық ASP, Windows Script Host скрипттерінде және басқа да автоматтандыру орталарында пайдалану үшін арналған. JScript кейде оны жаңа NET негізделген нұсқалардан ажырату үшін «классикалық JScript» немесе «Active Scripting JScript» деп аталады. JScript-тің кейбір нұсқалары Internet Explorer және Windows-тың бірнеше нұсқалары үшін қолжетімді. Мысалы, JScript 5.7 Internet Explorer 7.0-пен бірге енгізілді және Windows XP Service Pack 3-пен Internet Explorer 6.0-ға орнатылды, ал JScript 5.8 Internet Explorer 8.0-пен бірге енгізілді және Windows Mobile 6.5-те Internet Explorer 6.0-пен бірге орнатылды. Microsoft-тың Windows 8 Consumer Preview-дегі ECMAScript 5-ші нұсқасы JavaScript деп аталады, ал тиісті Visual Studio 11 Express Beta HTML5 және ECMAScript 5 синтаксисі үшін IntelliSense мүмкіндіктерімен толыққан, жаңа JavaScript редакторын, бірнеше жүктемелерге арналған «VSDOC» түсіндірмелерін, DOM конфигурациясын жеңілдетуді, жақшаларды сәйкестендіруді, жинақы түрде көрсетуді және «анықтамаға өту» мүмкіндігін қамтиды.
The original JScript is an Active Scripting engine. Like other Active Scripting languages, it is built on the COM/OLE Automation platform and provides scripting capabilities to host applications. This is the version used when hosting JScript inside a Web page displayed by Internet Explorer, in an HTML application before IE9, as well as in classic ASP, Windows Script Host scripts and other Automation environments. JScript is sometimes referred to as "classic JScript" or "Active Scripting JScript" to differentiate it from newer NET based versions. Some versions of JScript are available for multiple versions of Internet Explorer and Windows. For example, JScript 5.7 was introduced with Internet Explorer 7.0 and is also installed for Internet Explorer 6.0 with Windows XP Service Pack 3, while JScript 5.8 was introduced with Internet Explorer 8.0 and is also installed with Internet Explorer 6.0 on Windows Mobile 6.5. Microsoft's implementation of ECMAScript 5th Edition in Windows 8 Consumer Preview is called JavaScript and the corresponding Visual Studio 11 Express Beta includes a "completely new", full featured JavaScript editor with IntelliSense enhancements for HTML5 and ECMAScript 5 syntax, "VSDOC" annotations for multiple overloads, simplified DOM configuration, brace matching, collapsible outlining and "go to definition". Version Date Introduced with Based on Similar JavaScript version 1.0 Aug 1996 Internet Explorer 3.0 Netscape JavaScript 1.0 2.0 Jan 1997 Windows IIS 3.0 Netscape JavaScript 1.1 3.0 Oct 1997 Internet Explorer 4.0 ECMA 262 1st edition 1.3 4.0 Visual Studio 6.0 (as part of Visual InterDev) ECMA 262 1st edition 1.3 5.0 Mar 1999 Internet Explorer 5.0 ECMA 262 2nd edition 1.4 5.1 Internet Explorer 5.01 ECMA 262 2nd edition 1.4 5.5 Jul 2000 Internet Explorer 5.5 & Windows CE 4.2 ECMA 262 3rd edition 1.5 5.6 Oct 2001 Internet Explorer 6.0 & Windows CE 5.0 ECMA 262 3rd edition 1.5 5.7 Nov 2006 Internet Explorer 7.0 ECMA 262 3rd edition + ECMA 327 (ES CP) 1.5 5.8 Mar 2009 Internet Explorer 8.0 & Internet Explorer Mobile 6.0 ECMA 262 3rd edition + ECMA 327 (ES CP) + JSON (RFC 4627) 1.5
JScript is also available on Windows CE (included in Windows Mobile, optional in Windows Embedded CE). The Windows CE version lacks Active Debugging.
Версиясы енгізілген күні Негізделген ұқсас JavaScript нұсқасы
1.0 1996 ж. тамыз Internet Explorer 3.0 Netscape JavaScript 1.0
2.0 1997 ж. қаңтар Windows IIS 3.0 Netscape JavaScript 1.1
3.0 1997 ж. қазан Internet Explorer 4.0 ECMA 262 1-ші басылым 1.3
4.0 Visual Studio 6.0 (Visual InterDev құрамында) ECMA 262 1-ші басылым 1.3
5.0 1999 ж. наурыз Internet Explorer 5.0 ECMA 262 2-ші басылым 1.4
5.1 Internet Explorer 5.01 ECMA 262 2-ші басылым 1.4
5.5 2000 ж. шілде Internet Explorer 5.5 & Windows CE 4.2 ECMA 262 3-ші басылым 1.5
5.6 2001 ж. қазан Internet Explorer 6.0 & Windows CE 5.0 ECMA 262 3-ші басылым 1.5
5.7 2006 ж. қараша Internet Explorer 7.0 ECMA 262 3-ші басылым + ECMA 327 (ES CP) 1.5
5.8 2009 ж. наурыз Internet Explorer 8.0 & Internet Explorer Mobile 6.0 ECMA 262 3-ші басылым + ECMA 327 (ES CP) + JSON (RFC 4627) 1.5
The original JScript is an Active Scripting engine. Like other Active Scripting languages, it is built on the COM/OLE Automation platform and provides scripting capabilities to host applications. This is the version used when hosting JScript inside a Web page displayed by Internet Explorer, in an HTML application before IE9, as well as in classic ASP, Windows Script Host scripts and other Automation environments. JScript is sometimes referred to as "classic JScript" or "Active Scripting JScript" to differentiate it from newer NET based versions. Some versions of JScript are available for multiple versions of Internet Explorer and Windows. For example, JScript 5.7 was introduced with Internet Explorer 7.0 and is also installed for Internet Explorer 6.0 with Windows XP Service Pack 3, while JScript 5.8 was introduced with Internet Explorer 8.0 and is also installed with Internet Explorer 6.0 on Windows Mobile 6.5. Microsoft's implementation of ECMAScript 5th Edition in Windows 8 Consumer Preview is called JavaScript and the corresponding Visual Studio 11 Express Beta includes a "completely new", full featured JavaScript editor with IntelliSense enhancements for HTML5 and ECMAScript 5 syntax, "VSDOC" annotations for multiple overloads, simplified DOM configuration, brace matching, collapsible outlining and "go to definition". Version Date Introduced with Based on Similar JavaScript version 1.0 Aug 1996 Internet Explorer 3.0 Netscape JavaScript 1.0 2.0 Jan 1997 Windows IIS 3.0 Netscape JavaScript 1.1 3.0 Oct 1997 Internet Explorer 4.0 ECMA 262 1st edition 1.3 4.0 Visual Studio 6.0 (as part of Visual InterDev) ECMA 262 1st edition 1.3 5.0 Mar 1999 Internet Explorer 5.0 ECMA 262 2nd edition 1.4 5.1 Internet Explorer 5.01 ECMA 262 2nd edition 1.4 5.5 Jul 2000 Internet Explorer 5.5 & Windows CE 4.2 ECMA 262 3rd edition 1.5 5.6 Oct 2001 Internet Explorer 6.0 & Windows CE 5.0 ECMA 262 3rd edition 1.5 5.7 Nov 2006 Internet Explorer 7.0 ECMA 262 3rd edition + ECMA 327 (ES CP) 1.5 5.8 Mar 2009 Internet Explorer 8.0 & Internet Explorer Mobile 6.0 ECMA 262 3rd edition + ECMA 327 (ES CP) + JSON (RFC 4627) 1.5
JScript is also available on Windows CE (included in Windows Mobile, optional in Windows Embedded CE). The Windows CE version lacks Active Debugging.
JScript сонымен қатар Windows CE-де де қолжетімді (Windows Mobile-ге қоса, Windows Embedded CE-де опция ретінде). Windows CE нұсқасында белсенді жөндеу мүмкіндігі жоқ.
The original JScript is an Active Scripting engine. Like other Active Scripting languages, it is built on the COM/OLE Automation platform and provides scripting capabilities to host applications. This is the version used when hosting JScript inside a Web page displayed by Internet Explorer, in an HTML application before IE9, as well as in classic ASP, Windows Script Host scripts and other Automation environments. JScript is sometimes referred to as "classic JScript" or "Active Scripting JScript" to differentiate it from newer NET based versions. Some versions of JScript are available for multiple versions of Internet Explorer and Windows. For example, JScript 5.7 was introduced with Internet Explorer 7.0 and is also installed for Internet Explorer 6.0 with Windows XP Service Pack 3, while JScript 5.8 was introduced with Internet Explorer 8.0 and is also installed with Internet Explorer 6.0 on Windows Mobile 6.5. Microsoft's implementation of ECMAScript 5th Edition in Windows 8 Consumer Preview is called JavaScript and the corresponding Visual Studio 11 Express Beta includes a "completely new", full featured JavaScript editor with IntelliSense enhancements for HTML5 and ECMAScript 5 syntax, "VSDOC" annotations for multiple overloads, simplified DOM configuration, brace matching, collapsible outlining and "go to definition". Version Date Introduced with Based on Similar JavaScript version 1.0 Aug 1996 Internet Explorer 3.0 Netscape JavaScript 1.0 2.0 Jan 1997 Windows IIS 3.0 Netscape JavaScript 1.1 3.0 Oct 1997 Internet Explorer 4.0 ECMA 262 1st edition 1.3 4.0 Visual Studio 6.0 (as part of Visual InterDev) ECMA 262 1st edition 1.3 5.0 Mar 1999 Internet Explorer 5.0 ECMA 262 2nd edition 1.4 5.1 Internet Explorer 5.01 ECMA 262 2nd edition 1.4 5.5 Jul 2000 Internet Explorer 5.5 & Windows CE 4.2 ECMA 262 3rd edition 1.5 5.6 Oct 2001 Internet Explorer 6.0 & Windows CE 5.0 ECMA 262 3rd edition 1.5 5.7 Nov 2006 Internet Explorer 7.0 ECMA 262 3rd edition + ECMA 327 (ES CP) 1.5 5.8 Mar 2009 Internet Explorer 8.0 & Internet Explorer Mobile 6.0 ECMA 262 3rd edition + ECMA 327 (ES CP) + JSON (RFC 4627) 1.5
JScript is also available on Windows CE (included in Windows Mobile, optional in Windows Embedded CE). The Windows CE version lacks Active Debugging.
JScript .NET (CLI)
JScript NET - бұл JScript-тің Microsoft .NET іске асырылуы. Бұл CLI тілі және осылайша өте қуатты мүмкіндіктерді мұра етеді, бірақ бастапқы JScript тілінің көптеген мүмкіндіктері жоқ, сондықтан ол көптеген сценарийлерде скрипттерді жазу үшін қолайлы емес. JScript NET ASP.NET беттері мен толыққанды .NET қолданбалары үшін пайдаланылуы мүмкін, бірақ бұл тілге Microsoft Visual Studio-да қолдау көрсетілмейтіндіктен, ол жаңа, толыққанды тіл ретінде емес, классикалық JScript-ті пайдаланатын классикалық ASP-ге жаңарту жолы ретінде қарастырылады.
JScript NET is a Microsoft NET implementation of JScript. It is a CLI language and thus inherits very powerful features, but lacks many features of the original JScript language, making it inappropriate for many scripting scenarios. JScript NET can be used for ASP. NET pages and for complete NET applications, but the lack of support for this language in Microsoft Visual Studio places it more as an upgrade path for classic ASP using classic JScript than as a new first class language. Version Platform Date Introduced with Based on 7.0 Desktop CLR 1.0 2002 01 05 Microsoft NET Framework 1.0 ECMA 262 3rd edition 7.1 Desktop CLR 1.1 2003 04 01 Microsoft NET Framework 1.1 ECMA 262 3rd edition 8.0 Desktop CLR 2.0 2005 11 07 Microsoft NET Framework 2.0 ECMA 262 3rd edition10.0 Desktop CLR 4.0 2010 08 03 Microsoft NET Framework 4.0 ECMA 262 3rd edition
JScript NET is not supported in the NET Compact Framework. Note: JScript NET versions are not related to classic JScript versions. JScript NET is a separate product. Even though JScript NET is not supported within the Visual Studio IDE, its versions are in sync with other NET languages versions (C#, VB. NET, VC++) that follow their corresponding Visual Studio versions. NET Framework 3.0 and 3.5 are built on top of 2.0 and do not include the newer JScript. NET release (version 10.0 for NET Framework 4.0). (Source: file version of jsc. exe JScript. NET compiler and Microsoft. JScript. dll installed with NET Framework)
JScript NET is a Microsoft NET implementation of JScript. It is a CLI language and thus inherits very powerful features, but lacks many features of the original JScript language, making it inappropriate for many scripting scenarios. JScript NET can be used for ASP. NET pages and for complete NET applications, but the lack of support for this language in Microsoft Visual Studio places it more as an upgrade path for classic ASP using classic JScript than as a new first class language. Version Platform Date Introduced with Based on 7.0 Desktop CLR 1.0 2002 01 05 Microsoft NET Framework 1.0 ECMA 262 3rd edition 7.1 Desktop CLR 1.1 2003 04 01 Microsoft NET Framework 1.1 ECMA 262 3rd edition 8.0 Desktop CLR 2.0 2005 11 07 Microsoft NET Framework 2.0 ECMA 262 3rd edition10.0 Desktop CLR 4.0 2010 08 03 Microsoft NET Framework 4.0 ECMA 262 3rd edition
JScript NET is not supported in the NET Compact Framework. Note: JScript NET versions are not related to classic JScript versions. JScript NET is a separate product. Even though JScript NET is not supported within the Visual Studio IDE, its versions are in sync with other NET languages versions (C#, VB. NET, VC++) that follow their corresponding Visual Studio versions. NET Framework 3.0 and 3.5 are built on top of 2.0 and do not include the newer JScript. NET release (version 10.0 for NET Framework 4.0). (Source: file version of jsc. exe JScript. NET compiler and Microsoft. JScript. dll installed with NET Framework)
JScript NET .NET Compact Framework-та қолдау таппайды. Ескерту: JScript NET нұсқалары классикалық JScript нұсқаларымен байланысты емес. JScript NET – бұл жеке өнім. JScript NET Visual Studio IDE-де қолдау көрсетілмесе де, оның нұсқалары басқа .NET тілдерінің (C#, VB.NET, VC++) нұсқаларымен үйлеседі, олар өздерінің сәйкес Visual Studio нұсқаларын ұстанады. .NET Framework 3.0 және 3.5 2.0 негізінде құрылған және жаңа JScript NET нұсқасын (NET Framework 4.0 үшін 10.0 нұсқасы) қамтымайды. (Дереккөз: jsc.exe JScript.NET компиляторының файлдық нұсқасы және .NET Framework-пен бірге орнатылған Microsoft.JScript.dll)
JScript NET is a Microsoft NET implementation of JScript. It is a CLI language and thus inherits very powerful features, but lacks many features of the original JScript language, making it inappropriate for many scripting scenarios. JScript NET can be used for ASP. NET pages and for complete NET applications, but the lack of support for this language in Microsoft Visual Studio places it more as an upgrade path for classic ASP using classic JScript than as a new first class language. Version Platform Date Introduced with Based on 7.0 Desktop CLR 1.0 2002 01 05 Microsoft NET Framework 1.0 ECMA 262 3rd edition 7.1 Desktop CLR 1.1 2003 04 01 Microsoft NET Framework 1.1 ECMA 262 3rd edition 8.0 Desktop CLR 2.0 2005 11 07 Microsoft NET Framework 2.0 ECMA 262 3rd edition10.0 Desktop CLR 4.0 2010 08 03 Microsoft NET Framework 4.0 ECMA 262 3rd edition
JScript NET is not supported in the NET Compact Framework. Note: JScript NET versions are not related to classic JScript versions. JScript NET is a separate product. Even though JScript NET is not supported within the Visual Studio IDE, its versions are in sync with other NET languages versions (C#, VB. NET, VC++) that follow their corresponding Visual Studio versions. NET Framework 3.0 and 3.5 are built on top of 2.0 and do not include the newer JScript. NET release (version 10.0 for NET Framework 4.0). (Source: file version of jsc. exe JScript. NET compiler and Microsoft. JScript. dll installed with NET Framework)