📘 ❞ ECMAScript® 2015 Language Specification ❝ كتاب اصدار 2015

كتب جافا سكريبت - 📖 ❞ كتاب ECMAScript® 2015 Language Specification ❝ 📖

█ _ 2015 حصريا كتاب ECMAScript® Language Specification 2024 Specification: رائغ يشرح لك كل شئ لغة الجافا سكريبت وفقا للإصدار es6 وهو حقا رائع وشامل سيزيد من ثقل مهاراتك بلا شك وسيحولك نقطة مبتدئ إلى أعلى ذلك إذا فهمته وطبقت عليه بالشكل السليم Specification COPYRIGHT NOTICE © Ecma International This document may be copied, published and distributed to others, certain derivative works of it prepared, published, distributed, in whole or part, provided that the above copyright notice this Copyright License Disclaimer are included on all such copies The only permissible under are: (i) which incorporate portion for purpose providing commentary explanation (such as an annotated version document), (ii) incorporating features provide accessibility, (iii) translations into languages other than English different formats and (iv) by making use specification standard conformant products implementing (e g copy paste wholly partly) functionality therein However, content itself not modified any way, including removing references International, except required translate a format The official International is language website In event discrepancies between translated version, shall govern limited permissions granted perpetual will revoked its successors assigns This information contained herein "AS IS" basis ECMA INTERNATIONAL DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF INFORMATION HEREIN WILL INFRINGE OWNERSHIP RIGHTS IMPLIED WARRANTIES MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE " Software License All Software ("Software)" protected being made available "BSD License", below This subject third party rights (rights from parties International), patent rights, no licenses license even if concerned member SEE CODE CONDUCT IN PATENT MATTERS AVAILABLE AT http: www ecma international org memento codeofconduct htm REGARDING LICENSING CLAIMS ARE REQUIRED IMPLEMENT STANDARDS* Redistribution source binary forms, with without modification, permitted following conditions met: 1 Redistributions code must retain notice, list disclaimer 2 form reproduce documentation materials distribution 3 Neither name authors nor used endorse promote derived software specific prior written permission THIS SOFTWARE IS PROVIDED BY AND INCLUDING, TO, DISCLAIMED NO EVENT SHALL BE LIABLE DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, CONSEQUENTIAL DAMAGES (INCLUDING, PROCUREMENT SUBSTITUTE GOODS SERVICES; LOSS USE, DATA, PROFITS; BUSINESS INTERRUPTION) HOWEVER CAUSED ON THEORY LIABILITY, WHETHER CONTRACT, STRICT TORT (INCLUDING NEGLIGENCE OTHERWISE) ARISING WAY OUT THIS SOFTWARE, EVEN IF ADVISED POSSIBILITY SUCH DAMAGE Contents Page 1 Scope 1 2 Conformance 1 3 Normative 1 4 Overview 1 Web Scripting 2 4 2 ECMAScript Objects 3 4 Strict Variant 4 4 3 Terms definitions 5 4 4 Organization 8 5 Notational Conventions Syntactic Lexical Grammars Context Free RegExp 9 5 Numeric String Grammar 5 Notation 10 5 Algorithm 14 5 Static Semantic Rules 16 6 Data Types Values Undefined Type Null 17 6 Boolean Symbol 6 Number 18 6 7 Object 19 6 29 6 List Record Completion 30 6 Reference 31 6 Property Descriptor 33 6 Environment 35 6 Blocks 35 7 Abstract Operations 36 7 Conversion ToPrimitive ( input [, PreferredType] ) ToBoolean argument 37 7 ToNumber 38 7 ToInteger 40 7 ToInt32 ToUint32 41 7 ToInt16 8 ToUint16 9 ToInt8 10 ToUint8 42 7 11 ToUint8Clamp 12 ToString 42 iv © 2015 ToObject 13 43 7 14 ToPropertyKey 44 7 15 ToLength 16 CanonicalNumericIndexString Testing Comparison 45 7 RequireObjectCoercible IsArray IsCallable IsConstructor IsExtensible (O) IsInteger 46 7 IsPropertyKey IsRegExp SameValue(x, y) SameValueZero(x, Relational 47 7 Equality 48 7 49 7 Get (O, P) GetV (V, Set P, V, Throw) CreateDataProperty V) CreateMethodProperty 50 7 CreateDataPropertyOrThrow DefinePropertyOrThrow desc) DeletePropertyOrThrow GetMethod 51 7 HasProperty HasOwnProperty Call(F, [argumentsList]) Construct (F, [argumentsList], [newTarget]) SetIntegrityLevel level) 52 7 TestIntegrityLevel CreateArrayFromList (elements) 17 CreateListFromArrayLike (obj elementTypes] 53 7 18 Invoke(O,P, 19 OrdinaryHasInstance (C, O) 20 SpeciesConstructor O, defaultConstructor 54 7 21 EnumerableOwnNames 22 GetFunctionRealm obj Iterator GetIterator obj, method 55 7 IteratorNext iterator, value IteratorComplete iterResult IteratorValue IteratorStep iterator IteratorClose( completion CreateIterResultObject value, done 56 7 CreateListIterator 56 8 Executable Code Execution Contexts Environments Records 57 8 71 8 Realms 72 8 CreateRealm 73 8 CreateIntrinsics realmRec SetRealmGlobalObject realmRec, globalObj SetDefaultGlobalBindings 73 كتب جافا مجاناً PDF اونلاين ركن عن لتعليم (بالإنجليزية: JavaScript) وهي برمجة عالية المستوى تستخدم أساسا متصفحات الويب لإنشاء صفحات أكثر تفاعلية كانت الجافاسكريبت موجهة للمبرمجين الهواة وغير المحترفين إلا أنه تزايد الاهتمام بها وجذبت اهتمام مبرمجين محترفين بعد إضافتها لتقنيات جديدة كإنتشار تقنية أجاكس التي أدت سرعة التفاعل بين الخادم والعميل تُستخدَم سكربت ويب ولتوفير تطبيقات بما الألعاب؛ مُستعمَلة أغلبية المواقع وتدعمها جميع المتصفحات تقريبًا دون الحاجة إضافات خارجية

إنضم الآن وتصفح بدون إعلانات
ECMAScript® 2015 Language Specification
كتاب

ECMAScript® 2015 Language Specification

صدر 2015م
ECMAScript® 2015 Language Specification
كتاب

ECMAScript® 2015 Language Specification

صدر 2015م
عن كتاب ECMAScript® 2015 Language Specification:
كتاب رائغ يشرح لك كل شئ في لغة الجافا سكريبت وفقا للإصدار es6 وهو حقا كتاب رائع وشامل سيزيد من ثقل مهاراتك بلا شك وسيحولك من نقطة مبتدئ إلى نقطة أعلى من ذلك إذا فهمته وطبقت عليه بالشكل السليم
ECMAScript® 2015 Language Specification

COPYRIGHT NOTICE
© 2015 Ecma International
This document may be copied, published and distributed to others, and certain derivative works of it may be prepared, copied, published, and distributed, in whole or in part, provided that the above copyright notice and this Copyright License and Disclaimer are included on all such copies and derivative works. The only derivative works that are permissible under this Copyright License and Disclaimer are:
(i) works which incorporate all or portion of this document for the purpose of providing commentary or explanation (such as an annotated version of the document),
(ii) works which incorporate all or portion of this document for the purpose of incorporating features that provide accessibility,
(iii) translations of this document into languages other than English and into different formats and
(iv) works by making use of this specification in standard conformant products by implementing (e.g. by copy and paste wholly or partly) the functionality therein.
However, the content of this document itself may not be modified in any way, including by removing the copyright notice or references to Ecma International, except as required to translate it into languages other than English or into a different format.
The official version of an Ecma International document is the English language version on the Ecma International website. In the event of discrepancies between a translated version and the official version, the official version shall govern.
The limited permissions granted above are perpetual and will not be revoked by Ecma International or its successors or assigns.
This document and the information contained herein is provided on an "AS IS" basis and ECMA INTERNATIONAL DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE."
Software License
All Software contained in this document ("Software)" is protected by copyright and is being made available under the "BSD License", included below. This Software may be subject to third party rights (rights from parties other than Ecma International), including patent rights, and no licenses under such third party rights are granted under this license even if the third party concerned is a member of Ecma International. SEE THE ECMA CODE OF CONDUCT IN PATENT MATTERS AVAILABLE AT http://www.ecma-international.org/memento/codeofconduct.htm FOR INFORMATION REGARDING THE LICENSING OF PATENT CLAIMS THAT ARE REQUIRED TO IMPLEMENT ECMA INTERNATIONAL STANDARDS*.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the authors nor Ecma International may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE ECMA INTERNATIONAL "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ECMA INTERNATIONAL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Contents Page
1 Scope .............................................................................................................................................1
2 Conformance .................................................................................................................................1
3 Normative references ....................................................................................................................1
4 Overview ........................................................................................................................................1
4.1 Web Scripting ................................................................................................................................2
4.2 ECMAScript Overview ...................................................................................................................2
4.2.1 Objects...........................................................................................................................................3
4.2.2 The Strict Variant of ECMAScript .................................................................................................4
4.3 Terms and definitions ...................................................................................................................5
4.4 Organization of This Specification ...............................................................................................8
5 Notational Conventions ................................................................................................................8
5.1 Syntactic and Lexical Grammars ..................................................................................................8
5.1.1 Context-Free Grammars................................................................................................................8
5.1.2 The Lexical and RegExp Grammars .............................................................................................9
5.1.3 The Numeric String Grammar .......................................................................................................9
5.1.4 The Syntactic Grammar ................................................................................................................9
5.1.5 Grammar Notation ....................................................................................................................... 10
5.2 Algorithm Conventions ............................................................................................................... 14
5.3 Static Semantic Rules ................................................................................................................. 16
6 ECMAScript Data Types and Values .......................................................................................... 16
6.1 ECMAScript Language Types ..................................................................................................... 16
6.1.1 The Undefined Type .................................................................................................................... 16
6.1.2 The Null Type............................................................................................................................... 17
6.1.3 The Boolean Type ....................................................................................................................... 17
6.1.4 The String Type ........................................................................................................................... 17
6.1.5 The Symbol Type......................................................................................................................... 17
6.1.6 The Number Type ........................................................................................................................ 18
6.1.7 The Object Type .......................................................................................................................... 19
6.2 ECMAScript Specification Types ................................................................................................ 29
6.2.1 The List and Record Specification Type .................................................................................... 29
6.2.2 The Completion Record Specification Type .............................................................................. 30
6.2.3 The Reference Specification Type .............................................................................................. 31
6.2.4 The Property Descriptor Specification Type .............................................................................. 33
6.2.5 The Lexical Environment and Environment Record Specification Types ................................ 35
6.2.6 Data Blocks ................................................................................................................................. 35
7 Abstract Operations .................................................................................................................... 36
7.1 Type Conversion ......................................................................................................................... 36
7.1.1 ToPrimitive ( input [, PreferredType] ) ........................................................................................ 36
7.1.2 ToBoolean ( argument ) .............................................................................................................. 37
7.1.3 ToNumber ( argument ) ............................................................................................................... 38
7.1.4 ToInteger ( argument ) ................................................................................................................ 40
7.1.5 ToInt32 ( argument ) .................................................................................................................... 40
7.1.6 ToUint32 ( argument ) ................................................................................................................. 41
7.1.7 ToInt16 ( argument ) .................................................................................................................... 41
7.1.8 ToUint16 ( argument ) ................................................................................................................. 41
7.1.9 ToInt8 ( argument ) ...................................................................................................................... 41
7.1.10 ToUint8 ( argument ) ................................................................................................................... 42
7.1.11 ToUint8Clamp ( argument ) ......................................................................................................... 42
7.1.12 ToString ( argument ) .................................................................................................................. 42
iv © Ecma International 2015
ToObject 7.1.13 ( argument ) ................................................................................................................. 43
7.1.14 ToPropertyKey ( argument ) ....................................................................................................... 44
7.1.15 ToLength ( argument ) ................................................................................................................ 44
7.1.16 CanonicalNumericIndexString ( argument ) .............................................................................. 44
7.2 Testing and Comparison Operations ......................................................................................... 45
7.2.1 RequireObjectCoercible ( argument ) ........................................................................................ 45
7.2.2 IsArray ( argument ) .................................................................................................................... 45
7.2.3 IsCallable ( argument ) ................................................................................................................ 45
7.2.4 IsConstructor ( argument ) ......................................................................................................... 45
7.2.5 IsExtensible (O) ........................................................................................................................... 45
7.2.6 IsInteger ( argument ).................................................................................................................. 46
7.2.7 IsPropertyKey ( argument ) ........................................................................................................ 46
7.2.8 IsRegExp ( argument ) ................................................................................................................ 46
7.2.9 SameValue(x, y) .......................................................................................................................... 46
7.2.10 SameValueZero(x, y) ................................................................................................................... 46
7.2.11 Abstract Relational Comparison ................................................................................................ 47
7.2.12 Abstract Equality Comparison ................................................................................................... 48
7.2.13 Strict Equality Comparison ........................................................................................................ 48
7.3 Operations on Objects ................................................................................................................ 49
7.3.1 Get (O, P) ..................................................................................................................................... 49
7.3.2 GetV (V, P) ................................................................................................................................... 49
7.3.3 Set (O, P, V, Throw) ..................................................................................................................... 49
7.3.4 CreateDataProperty (O, P, V) ...................................................................................................... 49
7.3.5 CreateMethodProperty (O, P, V) ................................................................................................. 50
7.3.6 CreateDataPropertyOrThrow (O, P, V)........................................................................................ 50
7.3.7 DefinePropertyOrThrow (O, P, desc) .......................................................................................... 50
7.3.8 DeletePropertyOrThrow (O, P) .................................................................................................... 50
7.3.9 GetMethod (O, P) ......................................................................................................................... 51
7.3.10 HasProperty (O, P) ...................................................................................................................... 51
7.3.11 HasOwnProperty (O, P) ............................................................................................................... 51
7.3.12 Call(F, V, [argumentsList]) .......................................................................................................... 51
7.3.13 Construct (F, [argumentsList], [newTarget]) ............................................................................. 51
7.3.14 SetIntegrityLevel (O, level) ......................................................................................................... 52
7.3.15 TestIntegrityLevel (O, level) ........................................................................................................ 52
7.3.16 CreateArrayFromList (elements) ................................................................................................ 52
7.3.17 CreateListFromArrayLike (obj [, elementTypes] )...................................................................... 53
7.3.18 Invoke(O,P, [argumentsList]) ...................................................................................................... 53
7.3.19 OrdinaryHasInstance (C, O) ........................................................................................................ 53
7.3.20 SpeciesConstructor ( O, defaultConstructor ) ........................................................................... 54
7.3.21 EnumerableOwnNames (O) ........................................................................................................ 54
7.3.22 GetFunctionRealm ( obj ) ............................................................................................................ 54
7.4 Operations on Iterator Objects ................................................................................................... 54
7.4.1 GetIterator ( obj, method ) .......................................................................................................... 55
7.4.2 IteratorNext ( iterator, value )...................................................................................................... 55
7.4.3 IteratorComplete ( iterResult ) .................................................................................................... 55
7.4.4 IteratorValue ( iterResult ) ........................................................................................................... 55
7.4.5 IteratorStep ( iterator ) ................................................................................................................ 55
7.4.6 IteratorClose( iterator, completion ) ........................................................................................... 55
7.4.7 CreateIterResultObject ( value, done ) ....................................................................................... 56
7.4.8 CreateListIterator ( list ) .............................................................................................................. 56
8 Executable Code and Execution Contexts................................................................................. 56
8.1 Lexical Environments ................................................................................................................. 56
8.1.1 Environment Records ................................................................................................................. 57
8.1.2 Lexical Environment Operations ................................................................................................ 71
8.2 Code Realms ............................................................................................................................... 72
8.2.1 CreateRealm ( )............................................................................................................................ 73
8.2.2 CreateIntrinsics ( realmRec ) ...................................................................................................... 73
8.2.3 SetRealmGlobalObject ( realmRec, globalObj ) ......................................................................... 73
8.2.4 SetDefaultGlobalBindings ( realmRec ) ..................................................................................... 73
..........................
الترتيب:

#5K

0 مشاهدة هذا اليوم

#9K

0 مشاهدة هذا الشهر

#36K

7K إجمالي المشاهدات
عدد الصفحات: 566.
المتجر أماكن الشراء
مناقشات ومراجعات
QR Code
أماكن الشراء: عفواً ، لا يوجد روابط مُسجّلة حاليا لشراء الكتاب من المتاجر الإلكترونية