1、Information technology Programming languages,their environments,and system software interfaces ECMAScript Specification SuiteTechnologies de linformation Langages de programmation,leur environnement et interfaces des logiciels de systmes Suite de spcifications ECMAScriptINTERNATIONAL STANDARDISO/IEC
2、22275Reference numberISO/IEC 22275:2018(E)First edition2018-05 ISO/IEC 2018 ISO/IEC 22275:2018(E)ii ISO/IEC 2018 All rights reservedCOPYRIGHT PROTECTED DOCUMENT ISO/IEC 2018All rights reserved.Unless otherwise specified,or required in the context of its implementation,no part of this publication may
3、 be reproduced or utilized otherwise in any form or by any means,electronic or mechanical,including photocopying,or posting on the internet or an intranet,without prior written permission.Permission can be requested from either ISO at the address below or ISOs member body in the country of the reque
4、ster.ISO copyright officeCP 401 Ch.de Blandonnet 8CH-1214 Vernier,GenevaPhone:+41 22 749 01 11Fax:+41 22 749 09 47Email:copyrightiso.orgWebsite:www.iso.orgPublished in Switzerland ISO/IEC 22275:2018(E)Foreword.ivIntroduction.v1 Scope.12 Normative references.13 Terms and definitions.14 ECMAScript.14.
5、1 ECMA-262,ECMAScript Language Specification.24.2 ECMA-402,ECMAScript Internationalization API Specification.24.3 ISO/IEC 21778,The JSON data interchange syntax.25 ECMAScript Test Suite.2Bibliography.3 ISO/IEC 2018 All rights reserved iiiContents Page ISO/IEC 22275:2018(E)ForewordISO(the Internation
6、al Organization for Standardization)and IEC(the International Electrotechnical Commission)form the specialized system for worldwide standardization.National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the
7、 respective organization to deal with particular fields of technical activity.ISO and IEC technical committees collaborate in fields of mutual interest.Other international organizations,governmental and non-governmental,in liaison with ISO and IEC,also take part in the work.In the field of informati
8、on technology,ISO and IEC have established a joint technical committee,ISO/IEC JTC 1.The procedures used to develop this document and those intended for its further maintenance are described in the ISO/IEC Directives,Part 1.In particular the different approval criteria needed for the different types
9、 of document should be noted.This document was drafted in accordance with the editorial rules of the ISO/IEC Directives,Part 2(see www.iso.org/directives).Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights.ISO and IEC shall not be hel
10、d responsible for identifying any or all such patent rights.Details of any patent rights identified during the development of the document will be in the Introduction and/or on the ISO list of patent declarations received(see www.iso.org/patents).Any trade name used in this document is information g
11、iven for the convenience of users and does not constitute an endorsement.For an explanation on the voluntary nature of standards,the meaning of ISO specific terms and expressions related to conformity assessment,as well as information about ISOs adherence to the World Trade Organization(WTO)principl
12、es in the Technical Barriers to Trade(TBT)see the following URL:www.iso.org/iso/foreword.html.This first edition of ISO/IEC 22275 was prepared by Ecma International(as ECMA-414)and was adopted,under a special“fast-track procedure”,by Joint Technical Committee ISO/IEC JTC 1,Information technology,in
13、parallel with its approval by the national bodies of ISO and IEC.This first edition of ISO/IEC 22275 cancels and replaces ISO/IEC 16262:2011.Technical content has been replaced with normative references to ECMA-262 and ECMA-402 which,together,were equivalent to the former ISO/IEC 16262:2011.This fir
14、st edition of ISO/IEC 22275 is complemented with additional specifications,thus now establishing a full specification Suite.iv ISO/IEC 2018 All rights reserved ISO/IEC 22275:2018(E)IntroductionECMAScript is the general purpose programming language that is an essential part of the Web Browser applica
15、tion platform,but it is also widely used in many other environments.Essential components of an ECMAScript implementation are described in several individual standards and technical reports.The ECMAScript Specification Suite is just a collection of those.The specifications that define the ECMAScript
16、programming language and its built-in libraries are developed by Ecma International.The International Standard for ECMAScript Specification Suite defined by this document aggregate these specifications via normative and informative references to the latest published Ecma International ECMAScript specifications.This has the advantage that an update of the Suite is only needed if there is a change(addition or deletion)in the set of the individual ECMAScript standards and technical reports.ISO/IEC