{"id":335517,"date":"2022-07-09T15:00:05","date_gmt":"2022-07-09T15:00:05","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=335517"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=335517","title":{"rendered":"<span>Ecma International \u0443\u0442\u0432\u0435\u0440\u0434\u0438\u043b\u0430 ECMAScript 2022: \u0447\u0442\u043e \u0432 \u043d\u0435\u0439 \u043d\u043e\u0432\u043e\u0433\u043e?<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0415\u0441\u043b\u0438 \u0432\u0434\u0440\u0443\u0433 \u043a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0442\u043e \u044f \u0432\u0435\u0434\u0443\u00a0<a href=\"https:\/\/t.me\/frontendnoteschannel\" rel=\"noopener noreferrer nofollow\">\u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c \u043a\u0430\u043d\u0430\u043b \u043f\u043e \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434\u0443<\/a>\u00a0\u0433\u0434\u0435 \u0432\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0435 \u0442\u0435\u043c\u044b \u0430 \u0442\u0430\u043a \u0436\u0435 \u0441\u0430\u043c \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0438\u0448\u0443 \u0448\u043e\u0440\u0442-\u0440\u0438\u0434\u044b \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0432\u0430\u043c \u043f\u043e\u043b\u0435\u0437\u043d\u044b.<\/p>\n<hr\/>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/140\/d9a\/871\/140d9a8713e32a39b936ef1d5147887d.jpeg\" width=\"1120\" height=\"588\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/140\/d9a\/871\/140d9a8713e32a39b936ef1d5147887d.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<p>22 \u0438\u044e\u043d\u044f 2022 123-\u044f \u0430\u0441\u0441\u0430\u043c\u0431\u043b\u0435\u044f <a href=\"https:\/\/www.ecma-international.org\/news\/ecma-international-approves-new-standards-6\/\" rel=\"noopener noreferrer nofollow\">Ecma General \u0443\u0442\u0432\u0435\u0440\u0434\u0438\u043b\u0430 \u044f\u0437\u044b\u043a\u043e\u0432\u0443\u044e \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e ECMAScript 2022<\/a>, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442, \u043e\u043d\u0430 \u0441\u0442\u0430\u043b\u0430 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043e\u043c.<\/p>\n<p>\u0412 \u043f\u043e\u0441\u0442\u0435 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f, \u043a\u0430\u043a\u0438\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b \u0432 \u044d\u0442\u0443 \u0432\u0435\u0440\u0441\u0438\u044e.<\/p>\n<p><strong>\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435:<\/strong><\/p>\n<ul>\n<li>\n<p>\u0420\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u044b <a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#the-editors-of-ecmascript-2022\" rel=\"noopener noreferrer nofollow\">ECMAScript 2022\u00a0\u00a0<\/a><\/p>\n<\/li>\n<li>\n<p>\u0427\u0442\u043e \u043d\u043e\u0432\u043e\u0433\u043e \u0432 <a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#what%E2%80%99s-new-in-ecmascript-2022%3F\" rel=\"noopener noreferrer nofollow\">ECMAScript 2022?\u00a0\u00a0<\/a><\/p>\n<ul>\n<li>\n<p>\u041d\u043e\u0432\u044b\u0435 \u0447\u043b\u0435\u043d\u044b \u043a\u043b\u0430\u0441\u0441\u043e\u0432<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0445 \u0441\u043b\u043e\u0442\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 in<\/p>\n<\/li>\n<li>\n<p>\u0413\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0439 <code>await<\/code> \u0432 \u043c\u043e\u0434\u0443\u043b\u044f\u0445<a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#top-level-await-in-modules\" rel=\"noopener noreferrer nofollow\">\u00a0<\/a><\/p>\n<\/li>\n<li>\n<p>\u041c\u0435\u0442\u043e\u0434 <a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#error.cause\" rel=\"noopener noreferrer nofollow\">error.cause\u00a0\u00a0<\/a><\/p>\n<\/li>\n<li>\n<p>\u041c\u0435\u0442\u043e\u0434<a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#method-.at()-of-indexable-values\" rel=\"noopener noreferrer nofollow\"> .at() \u0434\u043b\u044f \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439\u00a0<\/a><\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u043e\u043f\u043e\u0437\u0430\u043b <a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#regexp-match-indices\" rel=\"noopener noreferrer nofollow\">RegExp match indices\u00a0\u00a0<\/a><\/p>\n<\/li>\n<li>\n<p>\u041c\u0435\u0442\u043e\u0434 <a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#object.hasown(obj%2C-propkey)\" rel=\"noopener noreferrer nofollow\">Object.hasOwn(obj, propKey)\u00a0\u00a0<\/a><\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#faq\" rel=\"noopener noreferrer nofollow\">FAQ\u00a0\u00a0<\/a><\/p>\n<ul>\n<li>\n<p>\u0412 \u0447\u0435\u043c \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 <a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#what-is-the-difference-between-javascript-and-ecmascript%3F\" rel=\"noopener noreferrer nofollow\">JavaScript \u0438 ECMAScript?\u00a0\u00a0<\/a><\/p>\n<\/li>\n<li>\n<p>\u041a\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043b <a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#who-designs-ecmascript%3F-tc39-%E2%80%93-ecma-technical-committee-39\" rel=\"noopener noreferrer nofollow\">ECMAScript? \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043e TC39 \u2013 \u041a\u043e\u043c\u0438\u0442\u0435\u0442\u0435 Ecma Technical 39\u00a0\u00a0<\/a><\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u043a \u0432<a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#how-are-features-added-to-ecmascript%3F-they-go-through-the-stages-of-the-tc39-process\" rel=\"noopener noreferrer nofollow\"> ECMAScript<\/a> \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0444\u0438\u0447\u0438<a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#how-are-features-added-to-ecmascript%3F-they-go-through-the-stages-of-the-tc39-process\" rel=\"noopener noreferrer nofollow\">? \u041f\u0440\u043e\u0446\u0435\u0441\u0441 TC39 \u0438 \u0435\u0433\u043e \u0441\u0442\u0430\u0434\u0438\u0438\u00a0<\/a><\/p>\n<\/li>\n<li>\n<p>\u041d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0435\u0440\u0441\u0438\u044f <a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#how-important-are-ecmascript-versions%3F\" rel=\"noopener noreferrer nofollow\">ECMAScript \u0438\u043c\u0435\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435?\u00a0\u00a0<\/a><\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u043a \u043f\u043e\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 [\u0438\u043c\u044f \u043b\u044e\u0431\u0438\u043c\u043e\u0439 \u0444\u0438\u0447\u0438]?<a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#how-is-%5Bmy-favorite-feature-proposal%5D-doing%3F\" rel=\"noopener noreferrer nofollow\">\u00a0<\/a><\/p>\n<\/li>\n<li>\n<p>\u0413\u0434\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u0444\u0438\u0447\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 <a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#where-can-i-look-up-which-features-were-added-in-a-given-ecmascript-version%3F\" rel=\"noopener noreferrer nofollow\">ECMAScript?\u00a0\u00a0<\/a><\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0435 \u043a\u043d\u0438\u0433\u0438 \u043f\u043e <a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#free-books-on-javascript\" rel=\"noopener noreferrer nofollow\">JavaScript\u00a0 <\/a><\/p>\n<h3>\u0420\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u044b ECMAScript 2022\u00a0\u00a0<\/h3>\n<p>\u0420\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u044b \u044d\u0442\u043e\u0433\u043e \u0440\u0435\u043b\u0438\u0437\u0430:<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/twitter.com\/_shu\" rel=\"noopener noreferrer nofollow\">Shu-yu Guo<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/twitter.com\/smooshMap\" rel=\"noopener noreferrer nofollow\">Michael Ficarra<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/twitter.com\/bakkoting\" rel=\"noopener noreferrer nofollow\">Kevin Gibbons<\/a><\/p>\n<\/li>\n<\/ul>\n<h3>\u0427\u0442\u043e \u043d\u043e\u0432\u043e\u0433\u043e \u0432 ECMAScript 2022?\u00a0\u00a0<\/h3>\n<h4>\u041d\u043e\u0432\u044b\u0435 \u0447\u043b\u0435\u043d\u044b \u043a\u043b\u0430\u0441\u0441\u043e\u0432\u00a0<\/h4>\n<p><code>class MyClass {<br \/>  instancePublicField = 1;<br \/> \u00a0static staticPublicField = 2;<br \/> \u00a0#instancePrivateField = 3;<br \/>\u00a0\u00a0static #staticPrivateField = 4;<br \/>\u00a0\u00a0#nonStaticPrivateMethod() {}<br \/>\u00a0\u00a0get #nonStaticPrivateAccessor() {}<br \/>\u00a0\u00a0set #nonStaticPrivateAccessor(value) {}<br \/>\u00a0\u00a0static #staticPrivateMethod() {}<br \/>\u00a0\u00a0static get #staticPrivateAccessor() {}<br \/>\u00a0\u00a0static set #staticPrivateAccessor(value) {}<br \/>\u00a0\u00a0static {<br \/>\u00a0\u00a0\u00a0\u00a0\/\/ Static initialization block<br \/>\u00a0\u00a0}<br \/>}<\/code><\/p>\n<ul>\n<li>\n<p>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b (\u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0435 \u0441\u043b\u043e\u0442\u044b) \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e:<\/p>\n<ul>\n<li>\n<p>\u041f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0445 \u043f\u043e\u043b\u0435\u0439 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430 (<a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_classes.html#instance-public-fields\" rel=\"noopener noreferrer nofollow\">Instance public fields<\/a>)<\/p>\n<\/li>\n<li>\n<p>\u041f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u043e\u043b\u0435\u0439 (<a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_classes.html#static-public-fields\" rel=\"noopener noreferrer nofollow\">Static public fields<\/a>)<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u0412 \u0447\u0438\u0441\u043b\u0435 \u043d\u043e\u0432\u0438\u043d\u043e\u043a \u2014 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0435 \u0441\u043b\u043e\u0442\u044b. \u0418\u0445 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437:<\/p>\n<ul>\n<li>\n<p>\u041f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0435 \u043f\u043e\u043b\u044f (\u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0435 \u043f\u043e\u043b\u044f \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430 \u0438 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0435 \u043f\u043e\u043b\u044f \u2014 <a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_classes.html#instance-private-fields\" rel=\"noopener noreferrer nofollow\">instance private fields<\/a> \u0438 <a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_classes.html#static-private-methods-accessors-fields\" rel=\"noopener noreferrer nofollow\">static private fields<\/a>)<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0438 \u0430\u0441\u0435\u0441\u0441\u043e\u0440\u044b (\u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0438 \u043d\u0435 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435)<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u0421\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0431\u043b\u043e\u043a\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 (<a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_classes.html#class-static-initialization-blocks\" rel=\"noopener noreferrer nofollow\">Static initialization blocks<\/a>)<\/p>\n<\/li>\n<\/ul>\n<h4>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0445 \u0441\u043b\u043e\u0442\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 in\u00a0\u00a0<\/h4>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0445 \u0441\u043b\u043e\u0442\u043e\u0432 \u0442\u0430\u043a\u0436\u0435 \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u00ab\u044d\u0440\u0433\u043e\u043d\u043e\u043c\u0438\u0447\u043d\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u043e\u0439 \u0431\u0440\u0435\u043d\u0434\u043e\u0432 \u0434\u043b\u044f \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0445 \u043f\u043e\u043b\u0435\u0439\u00bb. \u0412\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0438\u0436\u0435 \u2014 \u044d\u0442\u043e \u0438 \u0435\u0441\u0442\u044c \u0442\u0430\u043a\u0430\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430. \u041e\u043d\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u0435\u0441\u0442\u044c \u043b\u0438 \u0443 <code>obj<\/code> \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 \u0441\u043b\u043e\u0442 <code>#privateSlot<\/code>:<\/p>\n<p><code>#privateSlot in obj<\/code><\/p>\n<p>\u0412\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<p><code>class ClassWithPrivateSlot {<br \/>\u00a0\u00a0#privateSlot = true;<br \/>\u00a0\u00a0static hasPrivateSlot(obj) {<br \/>\u00a0\u00a0\u00a0\u00a0return #privateSlot in obj;<br \/>\u00a0\u00a0}<br \/>}<\/code><\/p>\n<p><code>const obj1 = new ClassWithPrivateSlot();<\/code><\/p>\n<p><code>assert.equal(<br \/>\u00a0\u00a0ClassWithPrivateSlot.hasPrivateSlot(obj1), true<br \/>);<\/code><\/p>\n<p><code>const obj2 = {};<\/code><\/p>\n<p><code>assert.equal(<br \/>\u00a0\u00a0ClassWithPrivateSlot.hasPrivateSlot(obj2), false<br \/>);<\/code><\/p>\n<p>\u0423\u0442\u043e\u0447\u043d\u0438\u043c, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0441\u044b\u043b\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 \u0441\u043b\u043e\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043e\u043d \u0431\u044b\u043b \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d.<\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e\u0431 \u044d\u0442\u043e\u043c <a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_classes.html#private-slot-checks\" rel=\"noopener noreferrer nofollow\"><u>\u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u043f\u0440\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0445 \u0441\u043b\u043e\u0442\u043e\u0432.<\/u><\/a><\/p>\n<h4>\u00ab\u0413\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0439\u00bb Await \u0432 \u043c\u043e\u0434\u0443\u043b\u044f\u0445<\/h4>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>await<\/code> \u043d\u0430 \u0432\u0435\u0440\u0445\u043d\u0438\u0445 \u0443\u0440\u043e\u0432\u043d\u044f\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u2014 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438\u043b\u0438 \u043c\u0435\u0442\u043e\u0434\u044b:<\/p>\n<p><code>\/\/ my-module.mjs<\/code><\/p>\n<p><code>const response = await fetch('https:\/\/example.com');<br \/>const text = await response.text();<br \/>console.log(text);<\/code><\/p>\n<p>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043f\u0440\u043e \u00ab\u0413\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0439\u00bb <code>await<\/code> \u0432 \u043c\u043e\u0434\u0443\u043b\u044f\u0445 <a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_modules.html#top-level-await\" rel=\"noopener noreferrer nofollow\"><u>\u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435<\/u><\/a>.<\/p>\n<h4>\u041c\u0435\u0442\u043e\u0434 error.cause\u00a0\u00a0<\/h4>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c Error \u0438 \u0435\u0433\u043e \u043f\u043e\u0434\u043a\u043b\u0430\u0441\u0441\u044b \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u043d\u0430\u043c \u0443\u0442\u043e\u0447\u043d\u044f\u0442\u044c, \u043a\u0430\u043a\u0430\u044f \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u0432\u044b\u0437\u0432\u0430\u043b\u0430 \u0442\u0435\u043a\u0443\u0449\u0443\u044e:<\/p>\n<p><code>try {<br \/>\u00a0\u00a0\/\/ Do something<br \/>} catch (otherError) {<br \/>\u00a0\u00a0throw new Error('Something went wrong', {cause: otherError});<br \/>}<\/code><\/p>\n<p>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 \u043e\u0448\u0438\u0431\u043a\u0438 <code>err<\/code> \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0435 \u0441\u0442\u0435\u043a\u0430 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0447\u0435\u0440\u0435\u0437 err.cause.<\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e <a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_exception-handling.html#error.cause\" rel=\"noopener noreferrer nofollow\">error.cause<\/a> <a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_exception-handling.html#error.cause\" rel=\"noopener noreferrer nofollow\"><u>\u0437\u0434\u0435\u0441\u044c<\/u>.<\/a><\/p>\n<h4>\u041c\u0435\u0442\u043e\u0434 .at() \u0434\u043b\u044f \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439<\/h4>\n<p>\u041c\u0435\u0442\u043e\u0434 <code>.at()<\/code> \u0434\u043b\u044f \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0447\u0438\u0442\u0430\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043f\u043e \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u0438\u043d\u0434\u0435\u043a\u0441\u0443, \u043a\u0430\u043a \u0441 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043d\u044b\u043c\u0438 \u0441\u043a\u043e\u0431\u043a\u0430\u043c\u0438 <code>[]<\/code>. \u041d\u043e, \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043d\u044b\u0445 \u0441\u043a\u043e\u0431\u043e\u043a, <code>.at()<\/code> \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438\u043d\u0434\u0435\u043a\u0441\u044b.<\/p>\n<p><code>> ['a', 'b', 'c'].at(0)<br \/>'a'<br \/>> ['a', 'b', 'c'].at(-1)<br \/>'c'<\/code><\/p>\n<p>\u041d\u0438\u0436\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u0443\u0435\u043c\u044b\u0435 \u0442\u0438\u043f\u044b, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u043c\u0435\u0442\u043e\u0434 <code>.at()<\/code>:<\/p>\n<ul>\n<li>\n<p>string<\/p>\n<\/li>\n<li>\n<p>Array<\/p>\n<\/li>\n<li>\n<p>\u0412\u0441\u0435 \u043a\u043b\u0430\u0441\u0441\u044b \u0442\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432: Uint8Array \u0438 \u0442.\u0434.<\/p>\n<\/li>\n<\/ul>\n<p><a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_arrays.html#Array.prototype.at\" rel=\"noopener noreferrer nofollow\"><u>\u041e \u043c\u0435\u0442\u043e\u0434\u0435 .at() \u0434\u043b\u044f \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439.<\/u><\/a><\/p>\n<h4>\u041f\u0440\u043e\u043f\u043e\u0437\u0430\u043b RegExp match indices\u00a0\u00a0<\/h4>\n<p>\u0415\u0441\u043b\u0438 \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0444\u043b\u0430\u0433 \/d \u043a \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u043c\u0443 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044e, \u043f\u0440\u0438 \u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f. \u041e\u043d\u0438 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0438 \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u0438\u043d\u0434\u0435\u043a\u0441 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u043e\u0433\u043e \u0437\u0430\u0445\u0432\u0430\u0442\u0430 (\u0441\u0442\u0440\u043e\u043a\u0438 A \u0438 B):<\/p>\n<p><code>const matchObj = \/(a+)(b+)\/d.exec('aaaabb');assert.equal(<br \/>\u00a0\u00a0matchObj[1], 'aaaa'<br \/>);<\/code><\/p>\n<p><code>assert.deepEqual(<br \/>\u00a0\u00a0matchObj.indices[1], [0, 4] \/\/ (A)<br \/>);<\/code><\/p>\n<p><code>assert.equal(<br \/>\u00a0\u00a0matchObj[2], 'bb'<br \/>);<\/code><\/p>\n<p><code>assert.deepEqual(<br \/>\u00a0\u00a0matchObj.indices[2], [4, 6] \/\/ (B)<br \/>);<\/code><\/p>\n<p><a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_regexps.html#regexp-match-indices\" rel=\"noopener noreferrer nofollow\"><u>\u041f\u043e \u0441\u0441\u044b\u043b\u043a\u0435<\/u><\/a> \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0435 \u043e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u0435 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f RegExp match indices.<\/p>\n<h4>\u041c\u0435\u0442\u043e\u0434 Object.hasOwn(obj, propKey)<\/h4>\n<p>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 Object.hasOwn(obj, propKey) \u2014 \u044d\u0442\u043e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0435\u0441\u0442\u044c \u043b\u0438 \u0443 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 <code>obj<\/code> \u0441\u0432\u043e\u0435 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 (\u043d\u0435 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c\u043e\u0435) \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u0441 \u043a\u043b\u044e\u0447\u043e\u043c propKey:<\/p>\n<p><code>const proto = {<br \/>\u00a0\u00a0protoProp: 'protoProp',<br \/>};<\/code><\/p>\n<p><code>const obj = {<br \/>\u00a0\u00a0proto: proto,<br \/>\u00a0\u00a0objProp: 'objProp',<br \/>}<\/code><\/p>\n<p><code>assert.equal('protoProp' in obj, true); \/\/(A)<br \/>assert.equal(Object.hasOwn(obj, 'protoProp'), false); \/\/ (B)<br \/>assert.equal(Object.hasOwn(proto, 'protoProp'), true); \/\/ (C)<\/code><\/p>\n<p>\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e in \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c\u044b\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 (\u0441\u0442\u0440\u043e\u043a\u0430 A), \u0432 \u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u0430\u043a <code>Object.hasOwn()<\/code> \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 (\u0441\u0442\u0440\u043e\u043a\u0438 B \u0438 C).<\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e\u0431 <a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_objects.html#Object.hasOwn\" rel=\"noopener noreferrer nofollow\">Object.hasOwn()<u>\u0432 \u044d\u0442\u043e\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435<\/u>.<\/a><\/p>\n<h3>FAQ\u00a0\u00a0<\/h3>\n<h4>\u0412 \u0447\u0435\u043c \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 JavaScript \u0438 ECMAScript?\u00a0\u00a0<\/h4>\n<ul>\n<li>\n<p>\u0415\u0441\u043b\u0438 \u043a\u0440\u0430\u0442\u043a\u043e \u0438 \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u044f\u0437\u044b\u043a\u043e\u043c:<\/p>\n<ul>\n<li>\n<p>JavaScript \u2014 \u044d\u0442\u043e \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c (\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432, Node.js, Deno, \u0438 \u0442.\u0434.).<\/p>\n<\/li>\n<li>\n<p>ECMAScript \u2014 \u044d\u0442\u043e \u044f\u0437\u044b\u043a\u043e\u0432\u043e\u0439 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442, \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 JavaScript. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043f\u0440\u043e \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e<a href=\"https:\/\/tc39.es\/ecma262\/\" rel=\"noopener noreferrer nofollow\"><em> ECMAScript<\/em><\/a> <a href=\"https:\/\/tc39.es\/ecma262\/\" rel=\"noopener noreferrer nofollow\"><u>\u043d\u0430 \u044d\u0442\u043e\u043c \u0441\u0430\u0439\u0442\u0435<\/u><\/a>.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u0411\u043e\u043b\u0435\u0435 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044b\u0439 \u043e\u0442\u0432\u0435\u0442 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d \u0432 \u0433\u043b\u0430\u0432\u0435 <a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_history.html#standardizing-javascript\" rel=\"noopener noreferrer nofollow\"><u>\u00ab3.2 \u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0438\u0437\u0430\u0446\u0438\u044f JavaScript\u00bb \u0432 \u043a\u043d\u0438\u0433\u0435 \u00ab\u0421\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 JavaScript \u0434\u043b\u044f \u043d\u0435\u0442\u0435\u0440\u043f\u0435\u043b\u0438\u0432\u044b\u0445\u00bb<\/u><\/a>.<\/p>\n<\/li>\n<\/ul>\n<p><strong>\u041a\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043b ECMAScript? TC39 \u2013 Ecma Technical Committee 39\u00a0\u00a0<\/strong><\/p>\n<p>\u0412 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e \u044f\u0437\u044b\u043a\u043e\u0432\u044b\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0430\u043c Ecma International \u0435\u0441\u0442\u044c \u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u041a\u043e\u043c\u0438\u0442\u0435\u0442 39 (<em>Technical Committee 39 \u0438\u043b\u0438<\/em> TC39). \u0418\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e\u0442 \u043a\u043e\u043c\u0438\u0442\u0435\u0442 \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043b ECMAScript.<\/p>\n<p>\u0413\u0440\u0443\u0431\u043e \u0433\u043e\u0432\u043e\u0440\u044f, \u0447\u043b\u0435\u043d\u044b \u043a\u043e\u043c\u0438\u0442\u0435\u0442\u0430 \u2014 \u043a\u0440\u0443\u043f\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438: Adobe, Apple, Facebook, Google, Microsoft, Mozilla, Opera, Twitter \u0438 \u0434\u0440\u0443\u0433\u0438\u0435. \u0422\u043e \u0435\u0441\u0442\u044c, \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043e\u043d\u043a\u0443\u0440\u0438\u0440\u0443\u044e\u0442 \u0432 \u0441\u0432\u043e\u0438\u0445 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u0430\u0445 \u0440\u044b\u043d\u043a\u0430, \u0432\u043c\u0435\u0441\u0442\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043d\u0430\u0434 JavaScript.<\/p>\n<p>\u041a\u0430\u0436\u0434\u044b\u0435 \u0434\u0432\u0430 \u043c\u0435\u0441\u044f\u0446\u0430 TC39 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442 \u0437\u0430\u0441\u0435\u0434\u0430\u043d\u0438\u044f \u2014 \u0447\u043b\u0435\u043d\u044b \u043a\u043e\u043c\u0438\u0442\u0435\u0442\u0430 \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u044e\u0442 \u0442\u0443\u0434\u0430 \u0434\u0435\u043b\u0435\u0433\u0430\u0442\u043e\u0432 \u0438 \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0430\u044e\u0442 \u044d\u043a\u0441\u043f\u0435\u0440\u0442\u043e\u0432. \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u044b \u0437\u0430\u0441\u0435\u0434\u0430\u043d\u0438\u0439 \u0435\u0441\u0442\u044c \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u0435 <a href=\"https:\/\/github.com\/tc39\/tc39-notes\/\" rel=\"noopener noreferrer nofollow\"><u>\u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 GitHub<\/u><\/a>.<\/p>\n<p>\u041a\u0440\u043e\u043c\u0435 \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0437\u0430\u0441\u0435\u0434\u0430\u043d\u0438\u0439, \u0422\u042139 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u0447\u0430\u0435\u0442 \u0441 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430\u043c\u0438 \u0438 \u0433\u0440\u0443\u043f\u043f\u0430\u043c\u0438 JavaScript-\u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430.<\/p>\n<h4>\u041a\u0430\u043a \u0432 ECMAScript \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0442 \u0444\u0438\u0447\u0438? \u041e \u0441\u0442\u0430\u0434\u0438\u044f\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0422\u042139<\/h4>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0422\u042139 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442 \u043d\u043e\u0432\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 ECMAScript. \u0417\u0430\u044f\u0432\u043a\u0438 \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0442 \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044d\u0442\u0430\u043f\u043e\u0432, \u0433\u0434\u0435:<\/p>\n<ul>\n<li>\n<p>\u041d\u0443\u043b\u0435\u0432\u043e\u0439 \u044d\u0442\u0430\u043f \u2014 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0442 \u0438\u0434\u0435\u0438, TC39 \u0432\u043d\u043e\u0441\u0438\u0442 \u0441\u0432\u043e\u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043a \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044e;<\/p>\n<\/li>\n<li>\n<p>\u0427\u0435\u0442\u0432\u0435\u0440\u0442\u044b\u0439, \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u044e\u0449\u0438\u0439, \u2014 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0433\u043e\u0442\u043e\u0432\u0430 \u043a \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u0432 ECMAScript.<\/p>\n<\/li>\n<\/ul>\n<p>\u0415\u0441\u043b\u0438 \u0444\u0438\u0447\u0430 \u0434\u043e\u0445\u043e\u0434\u0438\u0442 \u0434\u043e 4-\u0433\u043e \u044d\u0442\u0430\u043f\u0430, \u0435\u0435 \u0442\u043e\u0447\u043d\u043e \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044e\u0442 \u0432\u043d\u0435\u0434\u0440\u0438\u0442\u044c \u0432 ECMAScript. \u041d\u0430\u0431\u043e\u0440 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 ECMAScript \u043e\u0431\u044b\u0447\u043d\u043e \u0437\u0430\u043c\u043e\u0440\u0430\u0436\u0438\u0432\u0430\u044e\u0442 (\u0442\u043e \u0435\u0441\u0442\u044c \u043e\u043a\u043e\u043d\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u044e\u0442) \u0432 \u043c\u0430\u0440\u0442\u0435 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0433\u043e\u0434\u0430. \u0424\u0438\u0447\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u043e\u0431\u0440\u0430\u043b\u0438\u0441\u044c \u0434\u043e 4-\u0433\u043e \u044d\u0442\u0430\u043f\u0430 \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0434\u0435\u0434\u043b\u0430\u0439\u043d\u0430, \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u0432 \u0432\u0435\u0440\u0441\u0438\u044e ECMAScript \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0433\u043e\u0434\u0430.<\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u0435 \u043d\u044e\u0430\u043d\u0441\u043e\u0432 \u0432\u044b \u043d\u0430\u0439\u0434\u0435\u0442\u0435 <a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_history.html#standardizing-javascript\" rel=\"noopener noreferrer nofollow\"><u>\u0432 \u043a\u043d\u0438\u0433\u0435 \u00ab\u0421\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 JavaScript \u0434\u043b\u044f \u043d\u0435\u0442\u0435\u0440\u043f\u0435\u043b\u0438\u0432\u044b\u0445\u00bb \u0433\u043b\u0430\u0432\u0430 \u00ab3.5 The TC39 process\u00bb<\/u><\/a><\/p>\n<h4>\u041d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0435\u0440\u0441\u0438\u0438 ECMAScript \u0438\u043c\u0435\u044e\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435?\u00a0\u00a0<\/h4>\n<p>\u0421 \u0442\u0435\u0445 \u043f\u043e\u0440 \u043a\u0430\u043a \u043f\u0440\u043e\u0446\u0435\u0441\u0441 TC39 \u0431\u044b\u043b \u0443\u0447\u0440\u0435\u0436\u0434\u0451\u043d, \u0432\u0430\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u0435\u0440\u0441\u0438\u0439 ECMAScript \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043f\u0430\u043b\u0430. \u0411\u043e\u043b\u044c\u0448\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u0435\u0439\u0447\u0430\u0441 \u0438\u043c\u0435\u0435\u0442 \u0442\u043e, \u0434\u043e \u043a\u0430\u043a\u043e\u0439 \u0441\u0442\u0430\u0434\u0438\u0438 \u0434\u043e\u0448\u043b\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043d\u0430\u044f \u0444\u0438\u0447\u0430. \u0415\u0441\u043b\u0438 \u043e\u043d\u0430 \u0434\u043e\u0448\u043b\u0430 \u0434\u043e \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043e\u0439, \u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c. \u041d\u043e \u0434\u0430\u0436\u0435 \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 \u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0434\u0432\u0438\u0436\u043a\u0438, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u0442\u0435\u0441\u044c.<\/p>\n<h4>\u041a\u0430\u043a \u043f\u043e\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 [\u0438\u043c\u044f\u00a0 \u043b\u044e\u0431\u0438\u043c\u043e\u0439 \u0444\u0438\u0447\u0438]?\u00a0\u00a0<\/h4>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u043d\u0430 \u043a\u0430\u043a\u043e\u0439 \u0441\u0442\u0443\u043f\u0435\u043d\u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u0444\u0438\u0447\u0438, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 <a href=\"https:\/\/github.com\/tc39\/proposals\/\" rel=\"noopener noreferrer nofollow\"><u>\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 TC39 \u0441 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438<\/u><\/a>.<\/p>\n<h4>\u0413\u0434\u0435 \u044f \u043c\u043e\u0433\u0443 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u0444\u0438\u0447\u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 ECMAScript?<\/h4>\n<p>\u0415\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0441\u0442, \u0433\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f ECMAScript:<\/p>\n<ul>\n<li>\n<p>\u0412 \u00ab\u0421\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u043c JavaScript \u0434\u043b\u044f \u043d\u0435\u0442\u0435\u0440\u043f\u0435\u043b\u0438\u0432\u044b\u0445\u00bb \u0435\u0441\u0442\u044c <a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_new-javascript-features.html\" rel=\"noopener noreferrer nofollow\"><u>\u0440\u0430\u0437\u0434\u0435\u043b \u0441 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u043a\u0430\u0436\u0434\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 ECMAScript<\/u><\/a>. \u0417\u0434\u0435\u0441\u044c \u0436\u0435 \u0432\u044b \u043d\u0430\u0439\u0434\u0435\u0442\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u043f\u043e\u044f\u0441\u043d\u0435\u043d\u0438\u044f.<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/tc39\/proposals\/blob\/main\/finished-proposals.md\" rel=\"noopener noreferrer nofollow\"><u>\u0412 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 TC39<\/u><\/a>, \u0433\u0434\u0435 \u0432\u044b\u043b\u043e\u0436\u0435\u043d\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0441 \u043e\u0434\u043e\u0431\u0440\u0435\u043d\u043d\u044b\u043c\u0438 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f\u043c\u0438. \u0412 \u043d\u0435\u0439 \u043e\u0442\u0440\u0430\u0436\u0435\u043d\u043e, \u0432 \u043a\u0430\u043a\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 ECMAScript \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b (\u0438\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b) \u0444\u0438\u0447\u0438.<\/p>\n<\/li>\n<li>\n<p>\u0412 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 <a href=\"https:\/\/tc39.es\/ecma262\/#sec-intro\" rel=\"noopener noreferrer nofollow\"><u>\u00abIntroduction\u00bb \u044f\u0437\u044b\u043a\u043e\u0432\u043e\u0439 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 ECMAScript <\/u>\u00a0\u2014 \u0432 \u043d\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u043d \u0441\u043f\u0438\u0441\u043e\u043a <\/a>\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 \u043a\u0430\u0436\u0434\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438.<\/p>\n<\/li>\n<li>\n<p>\u0412 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 ECMA-262 \u043d\u0430<a href=\"https:\/\/github.com\/tc39\/ecma262\/releases\" rel=\"noopener noreferrer nofollow\"><u> \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0441 \u0440\u0435\u043b\u0438\u0437\u0430\u043c\u0438<\/u><\/a>.<\/p>\n<\/li>\n<\/ul>\n<h3>\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0435 \u043a\u043d\u0438\u0433\u0438 \u043f\u0440\u043e JavaScript\u00a0\u00a0<\/h3>\n<p>\u041c\u043e\u0438 \u043a\u043d\u0438\u0433\u0438 \u043f\u0440\u043e JavaScript \u043c\u043e\u0436\u043d\u043e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043e\u043d\u043b\u0430\u0439\u043d:<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/exploringjs.com\/impatient-js\/\" rel=\"noopener noreferrer nofollow\">\u00ab\u0421\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 JavaScript \u0434\u043b\u044f \u043d\u0435\u0442\u0435\u0440\u043f\u0435\u043b\u0438\u0432\u044b\u0445 (\u0438\u0437\u0434\u0430\u043d\u0438\u0435 ES2022)\u00bb<\/a> \u043e\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442 JavaScript \u0434\u043e ECMAScript 2022 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e.<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/exploringjs.com\/deep-js\/\" rel=\"noopener noreferrer nofollow\">\u00ab\u0413\u043b\u0443\u0431\u043e\u043a\u0438\u0439 JavaScript: \u0442\u0435\u043e\u0440\u0438\u0438 \u0438 \u0442\u0435\u0445\u043d\u0438\u043a\u0438\u00bb<\/a>\u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u0431\u044a\u044f\u0441\u043d\u044f\u0435\u0442 \u043e\u0441\u043d\u043e\u0432\u044b \u044f\u0437\u044b\u043a\u0430.<\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/676032\/\"> https:\/\/habr.com\/ru\/post\/676032\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0415\u0441\u043b\u0438 \u0432\u0434\u0440\u0443\u0433 \u043a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0442\u043e \u044f \u0432\u0435\u0434\u0443\u00a0<a href=\"https:\/\/t.me\/frontendnoteschannel\" rel=\"noopener noreferrer nofollow\">\u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c \u043a\u0430\u043d\u0430\u043b \u043f\u043e \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434\u0443<\/a>\u00a0\u0433\u0434\u0435 \u0432\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u0441\u0442\u0430\u0442\u044c\u0438 \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0435 \u0442\u0435\u043c\u044b \u0430 \u0442\u0430\u043a \u0436\u0435 \u0441\u0430\u043c \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0438\u0448\u0443 \u0448\u043e\u0440\u0442-\u0440\u0438\u0434\u044b \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0432\u0430\u043c \u043f\u043e\u043b\u0435\u0437\u043d\u044b.<\/p>\n<hr\/>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>22 \u0438\u044e\u043d\u044f 2022 123-\u044f \u0430\u0441\u0441\u0430\u043c\u0431\u043b\u0435\u044f <a href=\"https:\/\/www.ecma-international.org\/news\/ecma-international-approves-new-standards-6\/\" rel=\"noopener noreferrer nofollow\">Ecma General \u0443\u0442\u0432\u0435\u0440\u0434\u0438\u043b\u0430 \u044f\u0437\u044b\u043a\u043e\u0432\u0443\u044e \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e ECMAScript 2022<\/a>, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442, \u043e\u043d\u0430 \u0441\u0442\u0430\u043b\u0430 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043e\u043c.<\/p>\n<p>\u0412 \u043f\u043e\u0441\u0442\u0435 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f, \u043a\u0430\u043a\u0438\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b \u0432 \u044d\u0442\u0443 \u0432\u0435\u0440\u0441\u0438\u044e.<\/p>\n<p><strong>\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435:<\/strong><\/p>\n<ul>\n<li>\n<p>\u0420\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u044b <a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#the-editors-of-ecmascript-2022\" rel=\"noopener noreferrer nofollow\">ECMAScript 2022\u00a0\u00a0<\/a><\/p>\n<\/li>\n<li>\n<p>\u0427\u0442\u043e \u043d\u043e\u0432\u043e\u0433\u043e \u0432 <a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#what%E2%80%99s-new-in-ecmascript-2022%3F\" rel=\"noopener noreferrer nofollow\">ECMAScript 2022?\u00a0\u00a0<\/a><\/p>\n<ul>\n<li>\n<p>\u041d\u043e\u0432\u044b\u0435 \u0447\u043b\u0435\u043d\u044b \u043a\u043b\u0430\u0441\u0441\u043e\u0432<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0445 \u0441\u043b\u043e\u0442\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 in<\/p>\n<\/li>\n<li>\n<p>\u0413\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0439 <code>await<\/code> \u0432 \u043c\u043e\u0434\u0443\u043b\u044f\u0445<a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#top-level-await-in-modules\" rel=\"noopener noreferrer nofollow\">\u00a0<\/a><\/p>\n<\/li>\n<li>\n<p>\u041c\u0435\u0442\u043e\u0434 <a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#error.cause\" rel=\"noopener noreferrer nofollow\">error.cause\u00a0\u00a0<\/a><\/p>\n<\/li>\n<li>\n<p>\u041c\u0435\u0442\u043e\u0434<a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#method-.at()-of-indexable-values\" rel=\"noopener noreferrer nofollow\"> .at() \u0434\u043b\u044f \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439\u00a0<\/a><\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u043e\u043f\u043e\u0437\u0430\u043b <a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#regexp-match-indices\" rel=\"noopener noreferrer nofollow\">RegExp match indices\u00a0\u00a0<\/a><\/p>\n<\/li>\n<li>\n<p>\u041c\u0435\u0442\u043e\u0434 <a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#object.hasown(obj%2C-propkey)\" rel=\"noopener noreferrer nofollow\">Object.hasOwn(obj, propKey)\u00a0\u00a0<\/a><\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#faq\" rel=\"noopener noreferrer nofollow\">FAQ\u00a0\u00a0<\/a><\/p>\n<ul>\n<li>\n<p>\u0412 \u0447\u0435\u043c \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 <a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#what-is-the-difference-between-javascript-and-ecmascript%3F\" rel=\"noopener noreferrer nofollow\">JavaScript \u0438 ECMAScript?\u00a0\u00a0<\/a><\/p>\n<\/li>\n<li>\n<p>\u041a\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043b <a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#who-designs-ecmascript%3F-tc39-%E2%80%93-ecma-technical-committee-39\" rel=\"noopener noreferrer nofollow\">ECMAScript? \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043e TC39 \u2013 \u041a\u043e\u043c\u0438\u0442\u0435\u0442\u0435 Ecma Technical 39\u00a0\u00a0<\/a><\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u043a \u0432<a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#how-are-features-added-to-ecmascript%3F-they-go-through-the-stages-of-the-tc39-process\" rel=\"noopener noreferrer nofollow\"> ECMAScript<\/a> \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0444\u0438\u0447\u0438<a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#how-are-features-added-to-ecmascript%3F-they-go-through-the-stages-of-the-tc39-process\" rel=\"noopener noreferrer nofollow\">? \u041f\u0440\u043e\u0446\u0435\u0441\u0441 TC39 \u0438 \u0435\u0433\u043e \u0441\u0442\u0430\u0434\u0438\u0438\u00a0<\/a><\/p>\n<\/li>\n<li>\n<p>\u041d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0435\u0440\u0441\u0438\u044f <a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#how-important-are-ecmascript-versions%3F\" rel=\"noopener noreferrer nofollow\">ECMAScript \u0438\u043c\u0435\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435?\u00a0\u00a0<\/a><\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u043a \u043f\u043e\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 [\u0438\u043c\u044f \u043b\u044e\u0431\u0438\u043c\u043e\u0439 \u0444\u0438\u0447\u0438]?<a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#how-is-%5Bmy-favorite-feature-proposal%5D-doing%3F\" rel=\"noopener noreferrer nofollow\">\u00a0<\/a><\/p>\n<\/li>\n<li>\n<p>\u0413\u0434\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u0444\u0438\u0447\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 <a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#where-can-i-look-up-which-features-were-added-in-a-given-ecmascript-version%3F\" rel=\"noopener noreferrer nofollow\">ECMAScript?\u00a0\u00a0<\/a><\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0435 \u043a\u043d\u0438\u0433\u0438 \u043f\u043e <a href=\"https:\/\/2ality.com\/2022\/06\/ecmascript-2022.html#free-books-on-javascript\" rel=\"noopener noreferrer nofollow\">JavaScript\u00a0 <\/a><\/p>\n<h3>\u0420\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u044b ECMAScript 2022\u00a0\u00a0<\/h3>\n<p>\u0420\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u044b \u044d\u0442\u043e\u0433\u043e \u0440\u0435\u043b\u0438\u0437\u0430:<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/twitter.com\/_shu\" rel=\"noopener noreferrer nofollow\">Shu-yu Guo<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/twitter.com\/smooshMap\" rel=\"noopener noreferrer nofollow\">Michael Ficarra<\/a><\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/twitter.com\/bakkoting\" rel=\"noopener noreferrer nofollow\">Kevin Gibbons<\/a><\/p>\n<\/li>\n<\/ul>\n<h3>\u0427\u0442\u043e \u043d\u043e\u0432\u043e\u0433\u043e \u0432 ECMAScript 2022?\u00a0\u00a0<\/h3>\n<h4>\u041d\u043e\u0432\u044b\u0435 \u0447\u043b\u0435\u043d\u044b \u043a\u043b\u0430\u0441\u0441\u043e\u0432\u00a0<\/h4>\n<p><code>class MyClass {<br \/>  instancePublicField = 1;<br \/> \u00a0static staticPublicField = 2;<br \/> \u00a0#instancePrivateField = 3;<br \/>\u00a0\u00a0static #staticPrivateField = 4;<br \/>\u00a0\u00a0#nonStaticPrivateMethod() {}<br \/>\u00a0\u00a0get #nonStaticPrivateAccessor() {}<br \/>\u00a0\u00a0set #nonStaticPrivateAccessor(value) {}<br \/>\u00a0\u00a0static #staticPrivateMethod() {}<br \/>\u00a0\u00a0static get #staticPrivateAccessor() {}<br \/>\u00a0\u00a0static set #staticPrivateAccessor(value) {}<br \/>\u00a0\u00a0static {<br \/>\u00a0\u00a0\u00a0\u00a0\/\/ Static initialization block<br \/>\u00a0\u00a0}<br \/>}<\/code><\/p>\n<ul>\n<li>\n<p>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b (\u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0435 \u0441\u043b\u043e\u0442\u044b) \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e:<\/p>\n<ul>\n<li>\n<p>\u041f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0445 \u043f\u043e\u043b\u0435\u0439 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430 (<a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_classes.html#instance-public-fields\" rel=\"noopener noreferrer nofollow\">Instance public fields<\/a>)<\/p>\n<\/li>\n<li>\n<p>\u041f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u043e\u043b\u0435\u0439 (<a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_classes.html#static-public-fields\" rel=\"noopener noreferrer nofollow\">Static public fields<\/a>)<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u0412 \u0447\u0438\u0441\u043b\u0435 \u043d\u043e\u0432\u0438\u043d\u043e\u043a \u2014 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0435 \u0441\u043b\u043e\u0442\u044b. \u0418\u0445 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437:<\/p>\n<ul>\n<li>\n<p>\u041f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0435 \u043f\u043e\u043b\u044f (\u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0435 \u043f\u043e\u043b\u044f \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430 \u0438 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0435 \u043f\u043e\u043b\u044f \u2014 <a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_classes.html#instance-private-fields\" rel=\"noopener noreferrer nofollow\">instance private fields<\/a> \u0438 <a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_classes.html#static-private-methods-accessors-fields\" rel=\"noopener noreferrer nofollow\">static private fields<\/a>)<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0438 \u0430\u0441\u0435\u0441\u0441\u043e\u0440\u044b (\u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0438 \u043d\u0435 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435)<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u0421\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0431\u043b\u043e\u043a\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 (<a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_classes.html#class-static-initialization-blocks\" rel=\"noopener noreferrer nofollow\">Static initialization blocks<\/a>)<\/p>\n<\/li>\n<\/ul>\n<h4>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0445 \u0441\u043b\u043e\u0442\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 in\u00a0\u00a0<\/h4>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0445 \u0441\u043b\u043e\u0442\u043e\u0432 \u0442\u0430\u043a\u0436\u0435 \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u00ab\u044d\u0440\u0433\u043e\u043d\u043e\u043c\u0438\u0447\u043d\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u043e\u0439 \u0431\u0440\u0435\u043d\u0434\u043e\u0432 \u0434\u043b\u044f \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0445 \u043f\u043e\u043b\u0435\u0439\u00bb. \u0412\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0438\u0436\u0435 \u2014 \u044d\u0442\u043e \u0438 \u0435\u0441\u0442\u044c \u0442\u0430\u043a\u0430\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430. \u041e\u043d\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u0435\u0441\u0442\u044c \u043b\u0438 \u0443 <code>obj<\/code> \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 \u0441\u043b\u043e\u0442 <code>#privateSlot<\/code>:<\/p>\n<p><code>#privateSlot in obj<\/code><\/p>\n<p>\u0412\u043e\u0442 \u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<p><code>class ClassWithPrivateSlot {<br \/>\u00a0\u00a0#privateSlot = true;<br \/>\u00a0\u00a0static hasPrivateSlot(obj) {<br \/>\u00a0\u00a0\u00a0\u00a0return #privateSlot in obj;<br \/>\u00a0\u00a0}<br \/>}<\/code><\/p>\n<p><code>const obj1 = new ClassWithPrivateSlot();<\/code><\/p>\n<p><code>assert.equal(<br \/>\u00a0\u00a0ClassWithPrivateSlot.hasPrivateSlot(obj1), true<br \/>);<\/code><\/p>\n<p><code>const obj2 = {};<\/code><\/p>\n<p><code>assert.equal(<br \/>\u00a0\u00a0ClassWithPrivateSlot.hasPrivateSlot(obj2), false<br \/>);<\/code><\/p>\n<p>\u0423\u0442\u043e\u0447\u043d\u0438\u043c, \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0441\u044b\u043b\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0439 \u0441\u043b\u043e\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043e\u043d \u0431\u044b\u043b \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d.<\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e\u0431 \u044d\u0442\u043e\u043c <a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_classes.html#private-slot-checks\" rel=\"noopener noreferrer nofollow\"><u>\u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u043f\u0440\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u044b\u0445 \u0441\u043b\u043e\u0442\u043e\u0432.<\/u><\/a><\/p>\n<h4>\u00ab\u0413\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0439\u00bb Await \u0432 \u043c\u043e\u0434\u0443\u043b\u044f\u0445<\/h4>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code>await<\/code> \u043d\u0430 \u0432\u0435\u0440\u0445\u043d\u0438\u0445 \u0443\u0440\u043e\u0432\u043d\u044f\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u2014 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438\u043b\u0438 \u043c\u0435\u0442\u043e\u0434\u044b:<\/p>\n<p><code>\/\/ my-module.mjs<\/code><\/p>\n<p><code>const response = await fetch('https:\/\/example.com');<br \/>const text = await response.text();<br \/>console.log(text);<\/code><\/p>\n<p>\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043f\u0440\u043e \u00ab\u0413\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0439\u00bb <code>await<\/code> \u0432 \u043c\u043e\u0434\u0443\u043b\u044f\u0445 <a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_modules.html#top-level-await\" rel=\"noopener noreferrer nofollow\"><u>\u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435<\/u><\/a>.<\/p>\n<h4>\u041c\u0435\u0442\u043e\u0434 error.cause\u00a0\u00a0<\/h4>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c Error \u0438 \u0435\u0433\u043e \u043f\u043e\u0434\u043a\u043b\u0430\u0441\u0441\u044b \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u043d\u0430\u043c \u0443\u0442\u043e\u0447\u043d\u044f\u0442\u044c, \u043a\u0430\u043a\u0430\u044f \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430 \u0432\u044b\u0437\u0432\u0430\u043b\u0430 \u0442\u0435\u043a\u0443\u0449\u0443\u044e:<\/p>\n<p><code>try {<br \/>\u00a0\u00a0\/\/ Do something<br \/>} catch (otherError) {<br \/>\u00a0\u00a0throw new Error('Something went wrong', {cause: otherError});<br \/>}<\/code><\/p>\n<p>\u041f\u0440\u0438\u0447\u0438\u043d\u0430 \u043e\u0448\u0438\u0431\u043a\u0438 <code>err<\/code> \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0435 \u0441\u0442\u0435\u043a\u0430 \u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0447\u0435\u0440\u0435\u0437 err.cause.<\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e <a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_exception-handling.html#error.cause\" rel=\"noopener noreferrer nofollow\">error.cause<\/a> <a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_exception-handling.html#error.cause\" rel=\"noopener noreferrer nofollow\"><u>\u0437\u0434\u0435\u0441\u044c<\/u>.<\/a><\/p>\n<h4>\u041c\u0435\u0442\u043e\u0434 .at() \u0434\u043b\u044f \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439<\/h4>\n<p>\u041c\u0435\u0442\u043e\u0434 <code>.at()<\/code> \u0434\u043b\u044f \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0447\u0438\u0442\u0430\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043f\u043e \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u0438\u043d\u0434\u0435\u043a\u0441\u0443, \u043a\u0430\u043a \u0441 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043d\u044b\u043c\u0438 \u0441\u043a\u043e\u0431\u043a\u0430\u043c\u0438 <code>[]<\/code>. \u041d\u043e, \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043d\u044b\u0445 \u0441\u043a\u043e\u0431\u043e\u043a, <code>.at()<\/code> \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438\u043d\u0434\u0435\u043a\u0441\u044b.<\/p>\n<p><code>> ['a', 'b', 'c'].at(0)<br \/>'a'<br \/>> ['a', 'b', 'c'].at(-1)<br \/>'c'<\/code><\/p>\n<p>\u041d\u0438\u0436\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u044b \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u0443\u0435\u043c\u044b\u0435 \u0442\u0438\u043f\u044b, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u043c\u0435\u0442\u043e\u0434 <code>.at()<\/code>:<\/p>\n<ul>\n<li>\n<p>string<\/p>\n<\/li>\n<li>\n<p>Array<\/p>\n<\/li>\n<li>\n<p>\u0412\u0441\u0435 \u043a\u043b\u0430\u0441\u0441\u044b \u0442\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432: Uint8Array \u0438 \u0442.\u0434.<\/p>\n<\/li>\n<\/ul>\n<p><a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_arrays.html#Array.prototype.at\" rel=\"noopener noreferrer nofollow\"><u>\u041e \u043c\u0435\u0442\u043e\u0434\u0435 .at() \u0434\u043b\u044f \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439.<\/u><\/a><\/p>\n<h4>\u041f\u0440\u043e\u043f\u043e\u0437\u0430\u043b RegExp match indices\u00a0\u00a0<\/h4>\n<p>\u0415\u0441\u043b\u0438 \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0444\u043b\u0430\u0433 \/d \u043a \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u043c\u0443 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044e, \u043f\u0440\u0438 \u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f. \u041e\u043d\u0438 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0438 \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u0438\u043d\u0434\u0435\u043a\u0441 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u043e\u0433\u043e \u0437\u0430\u0445\u0432\u0430\u0442\u0430 (\u0441\u0442\u0440\u043e\u043a\u0438 A \u0438 B):<\/p>\n<p><code>const matchObj = \/(a+)(b+)\/d.exec('aaaabb');assert.equal(<br \/>\u00a0\u00a0matchObj[1], 'aaaa'<br \/>);<\/code><\/p>\n<p><code>assert.deepEqual(<br \/>\u00a0\u00a0matchObj.indices[1], [0, 4] \/\/ (A)<br \/>);<\/code><\/p>\n<p><code>assert.equal(<br \/>\u00a0\u00a0matchObj[2], 'bb'<br \/>);<\/code><\/p>\n<p><code>assert.deepEqual(<br \/>\u00a0\u00a0matchObj.indices[2], [4, 6] \/\/ (B)<br \/>);<\/code><\/p>\n<p><a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_regexps.html#regexp-match-indices\" rel=\"noopener noreferrer nofollow\"><u>\u041f\u043e \u0441\u0441\u044b\u043b\u043a\u0435<\/u><\/a> \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0435 \u043e\u0431\u044a\u044f\u0441\u043d\u0435\u043d\u0438\u0435 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f RegExp match indices.<\/p>\n<h4>\u041c\u0435\u0442\u043e\u0434 Object.hasOwn(obj, propKey)<\/h4>\n<p>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 Object.hasOwn(obj, propKey) \u2014 \u044d\u0442\u043e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0435\u0441\u0442\u044c \u043b\u0438 \u0443 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 <code>obj<\/code> \u0441\u0432\u043e\u0435 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 (\u043d\u0435 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c\u043e\u0435) \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u0441 \u043a\u043b\u044e\u0447\u043e\u043c propKey:<\/p>\n<p><code>const proto = {<br \/>\u00a0\u00a0protoProp: 'protoProp',<br \/>};<\/code><\/p>\n<p><code>const obj = {<br \/>\u00a0\u00a0proto: proto,<br \/>\u00a0\u00a0objProp: 'objProp',<br \/>}<\/code><\/p>\n<p><code>assert.equal('protoProp' in obj, true); \/\/(A)<br \/>assert.equal(Object.hasOwn(obj, 'protoProp'), false); \/\/ (B)<br \/>assert.equal(Object.hasOwn(proto, 'protoProp'), true); \/\/ (C)<\/code><\/p>\n<p>\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e in \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c\u044b\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 (\u0441\u0442\u0440\u043e\u043a\u0430 A), \u0432 \u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u0430\u043a <code>Object.hasOwn()<\/code> \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 (\u0441\u0442\u0440\u043e\u043a\u0438 B \u0438 C).<\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e\u0431 <a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_objects.html#Object.hasOwn\" rel=\"noopener noreferrer nofollow\">Object.hasOwn()<u>\u0432 \u044d\u0442\u043e\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435<\/u>.<\/a><\/p>\n<h3>FAQ\u00a0\u00a0<\/h3>\n<h4>\u0412 \u0447\u0435\u043c \u0440\u0430\u0437\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 JavaScript \u0438 ECMAScript?\u00a0\u00a0<\/h4>\n<ul>\n<li>\n<p>\u0415\u0441\u043b\u0438 \u043a\u0440\u0430\u0442\u043a\u043e \u0438 \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u044f\u0437\u044b\u043a\u043e\u043c:<\/p>\n<ul>\n<li>\n<p>JavaScript \u2014 \u044d\u0442\u043e \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c (\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432, Node.js, Deno, \u0438 \u0442.\u0434.).<\/p>\n<\/li>\n<li>\n<p>ECMAScript \u2014 \u044d\u0442\u043e \u044f\u0437\u044b\u043a\u043e\u0432\u043e\u0439 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442, \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 JavaScript. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043f\u0440\u043e \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e<a href=\"https:\/\/tc39.es\/ecma262\/\" rel=\"noopener noreferrer nofollow\"><em> ECMAScript<\/em><\/a> <a href=\"https:\/\/tc39.es\/ecma262\/\" rel=\"noopener noreferrer nofollow\"><u>\u043d\u0430 \u044d\u0442\u043e\u043c \u0441\u0430\u0439\u0442\u0435<\/u><\/a>.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u0411\u043e\u043b\u0435\u0435 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044b\u0439 \u043e\u0442\u0432\u0435\u0442 \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d \u0432 \u0433\u043b\u0430\u0432\u0435 <a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_history.html#standardizing-javascript\" rel=\"noopener noreferrer nofollow\"><u>\u00ab3.2 \u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0438\u0437\u0430\u0446\u0438\u044f JavaScript\u00bb \u0432 \u043a\u043d\u0438\u0433\u0435 \u00ab\u0421\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 JavaScript \u0434\u043b\u044f \u043d\u0435\u0442\u0435\u0440\u043f\u0435\u043b\u0438\u0432\u044b\u0445\u00bb<\/u><\/a>.<\/p>\n<\/li>\n<\/ul>\n<p><strong>\u041a\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043b ECMAScript? TC39 \u2013 Ecma Technical Committee 39\u00a0\u00a0<\/strong><\/p>\n<p>\u0412 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e \u044f\u0437\u044b\u043a\u043e\u0432\u044b\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0430\u043c Ecma International \u0435\u0441\u0442\u044c \u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u041a\u043e\u043c\u0438\u0442\u0435\u0442 39 (<em>Technical Committee 39 \u0438\u043b\u0438<\/em> TC39). \u0418\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e\u0442 \u043a\u043e\u043c\u0438\u0442\u0435\u0442 \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043b ECMAScript.<\/p>\n<p>\u0413\u0440\u0443\u0431\u043e \u0433\u043e\u0432\u043e\u0440\u044f, \u0447\u043b\u0435\u043d\u044b \u043a\u043e\u043c\u0438\u0442\u0435\u0442\u0430 \u2014 \u043a\u0440\u0443\u043f\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438: Adobe, Apple, Facebook, Google, Microsoft, Mozilla, Opera, Twitter \u0438 \u0434\u0440\u0443\u0433\u0438\u0435. \u0422\u043e \u0435\u0441\u0442\u044c, \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043e\u043d\u043a\u0443\u0440\u0438\u0440\u0443\u044e\u0442 \u0432 \u0441\u0432\u043e\u0438\u0445 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u0430\u0445 \u0440\u044b\u043d\u043a\u0430, \u0432\u043c\u0435\u0441\u0442\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043d\u0430\u0434 JavaScript.<\/p>\n<p>\u041a\u0430\u0436\u0434\u044b\u0435 \u0434\u0432\u0430 \u043c\u0435\u0441\u044f\u0446\u0430 TC39 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442 \u0437\u0430\u0441\u0435\u0434\u0430\u043d\u0438\u044f \u2014 \u0447\u043b\u0435\u043d\u044b \u043a\u043e\u043c\u0438\u0442\u0435\u0442\u0430 \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u044e\u0442 \u0442\u0443\u0434\u0430 \u0434\u0435\u043b\u0435\u0433\u0430\u0442\u043e\u0432 \u0438 \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0430\u044e\u0442 \u044d\u043a\u0441\u043f\u0435\u0440\u0442\u043e\u0432. \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u044b \u0437\u0430\u0441\u0435\u0434\u0430\u043d\u0438\u0439 \u0435\u0441\u0442\u044c \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u0435 <a href=\"https:\/\/github.com\/tc39\/tc39-notes\/\" rel=\"noopener noreferrer nofollow\"><u>\u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 GitHub<\/u><\/a>.<\/p>\n<p>\u041a\u0440\u043e\u043c\u0435 \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0437\u0430\u0441\u0435\u0434\u0430\u043d\u0438\u0439, \u0422\u042139 \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u0447\u0430\u0435\u0442 \u0441 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430\u043c\u0438 \u0438 \u0433\u0440\u0443\u043f\u043f\u0430\u043c\u0438 JavaScript-\u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430.<\/p>\n<h4>\u041a\u0430\u043a \u0432 ECMAScript \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0442 \u0444\u0438\u0447\u0438? \u041e \u0441\u0442\u0430\u0434\u0438\u044f\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0422\u042139<\/h4>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0422\u042139 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442 \u043d\u043e\u0432\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 ECMAScript. \u0417\u0430\u044f\u0432\u043a\u0438 \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0442 \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044d\u0442\u0430\u043f\u043e\u0432, \u0433\u0434\u0435:<\/p>\n<ul>\n<li>\n<p>\u041d\u0443\u043b\u0435\u0432\u043e\u0439 \u044d\u0442\u0430\u043f \u2014 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0442 \u0438\u0434\u0435\u0438, TC39 \u0432\u043d\u043e\u0441\u0438\u0442 \u0441\u0432\u043e\u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043a \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044e;<\/p>\n<\/li>\n<li>\n<p>\u0427\u0435\u0442\u0432\u0435\u0440\u0442\u044b\u0439, \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u044e\u0449\u0438\u0439, \u2014 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0433\u043e\u0442\u043e\u0432\u0430 \u043a \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u0432 ECMAScript.<\/p>\n<\/li>\n<\/ul>\n<p>\u0415\u0441\u043b\u0438 \u0444\u0438\u0447\u0430 \u0434\u043e\u0445\u043e\u0434\u0438\u0442 \u0434\u043e 4-\u0433\u043e \u044d\u0442\u0430\u043f\u0430, \u0435\u0435 \u0442\u043e\u0447\u043d\u043e \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u044e\u0442 \u0432\u043d\u0435\u0434\u0440\u0438\u0442\u044c \u0432 ECMAScript. \u041d\u0430\u0431\u043e\u0440 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 ECMAScript \u043e\u0431\u044b\u0447\u043d\u043e \u0437\u0430\u043c\u043e\u0440\u0430\u0436\u0438\u0432\u0430\u044e\u0442 (\u0442\u043e \u0435\u0441\u0442\u044c \u043e\u043a\u043e\u043d\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u044e\u0442) \u0432 \u043c\u0430\u0440\u0442\u0435 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0433\u043e\u0434\u0430. \u0424\u0438\u0447\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u043e\u0431\u0440\u0430\u043b\u0438\u0441\u044c \u0434\u043e 4-\u0433\u043e \u044d\u0442\u0430\u043f\u0430 \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0434\u0435\u0434\u043b\u0430\u0439\u043d\u0430, \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u0432 \u0432\u0435\u0440\u0441\u0438\u044e ECMAScript \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0433\u043e\u0434\u0430.<\/p>\n<p>\u0411\u043e\u043b\u044c\u0448\u0435 \u043d\u044e\u0430\u043d\u0441\u043e\u0432 \u0432\u044b \u043d\u0430\u0439\u0434\u0435\u0442\u0435 <a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_history.html#standardizing-javascript\" rel=\"noopener noreferrer nofollow\"><u>\u0432 \u043a\u043d\u0438\u0433\u0435 \u00ab\u0421\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 JavaScript \u0434\u043b\u044f \u043d\u0435\u0442\u0435\u0440\u043f\u0435\u043b\u0438\u0432\u044b\u0445\u00bb \u0433\u043b\u0430\u0432\u0430 \u00ab3.5 The TC39 process\u00bb<\/u><\/a><\/p>\n<h4>\u041d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0435\u0440\u0441\u0438\u0438 ECMAScript \u0438\u043c\u0435\u044e\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435?\u00a0\u00a0<\/h4>\n<p>\u0421 \u0442\u0435\u0445 \u043f\u043e\u0440 \u043a\u0430\u043a \u043f\u0440\u043e\u0446\u0435\u0441\u0441 TC39 \u0431\u044b\u043b \u0443\u0447\u0440\u0435\u0436\u0434\u0451\u043d, \u0432\u0430\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u0435\u0440\u0441\u0438\u0439 ECMAScript \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u043f\u0430\u043b\u0430. \u0411\u043e\u043b\u044c\u0448\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0441\u0435\u0439\u0447\u0430\u0441 \u0438\u043c\u0435\u0435\u0442 \u0442\u043e, \u0434\u043e \u043a\u0430\u043a\u043e\u0439 \u0441\u0442\u0430\u0434\u0438\u0438 \u0434\u043e\u0448\u043b\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043d\u0430\u044f \u0444\u0438\u0447\u0430. \u0415\u0441\u043b\u0438 \u043e\u043d\u0430 \u0434\u043e\u0448\u043b\u0430 \u0434\u043e \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043e\u0439, \u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c. \u041d\u043e \u0434\u0430\u0436\u0435 \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 \u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0434\u0432\u0438\u0436\u043a\u0438, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u0443\u0435\u0442\u0435\u0441\u044c.<\/p>\n<h4>\u041a\u0430\u043a \u043f\u043e\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435 [\u0438\u043c\u044f\u00a0 \u043b\u044e\u0431\u0438\u043c\u043e\u0439 \u0444\u0438\u0447\u0438]?\u00a0\u00a0<\/h4>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u043d\u0430 \u043a\u0430\u043a\u043e\u0439 \u0441\u0442\u0443\u043f\u0435\u043d\u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u0444\u0438\u0447\u0438, \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 <a href=\"https:\/\/github.com\/tc39\/proposals\/\" rel=\"noopener noreferrer nofollow\"><u>\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 TC39 \u0441 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438<\/u><\/a>.<\/p>\n<h4>\u0413\u0434\u0435 \u044f \u043c\u043e\u0433\u0443 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u0444\u0438\u0447\u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u0432 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 ECMAScript?<\/h4>\n<p>\u0415\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0441\u0442, \u0433\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f ECMAScript:<\/p>\n<ul>\n<li>\n<p>\u0412 \u00ab\u0421\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u043c JavaScript \u0434\u043b\u044f \u043d\u0435\u0442\u0435\u0440\u043f\u0435\u043b\u0438\u0432\u044b\u0445\u00bb \u0435\u0441\u0442\u044c <a href=\"https:\/\/exploringjs.com\/impatient-js\/ch_new-javascript-features.html\" rel=\"noopener noreferrer nofollow\"><u>\u0440\u0430\u0437\u0434\u0435\u043b \u0441 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f\u043c\u0438 \u043a\u0430\u0436\u0434\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 ECMAScript<\/u><\/a>. \u0417\u0434\u0435\u0441\u044c \u0436\u0435 \u0432\u044b \u043d\u0430\u0439\u0434\u0435\u0442\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u043f\u043e\u044f\u0441\u043d\u0435\u043d\u0438\u044f.<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/tc39\/proposals\/blob\/main\/finished-proposals.md\" rel=\"noopener noreferrer nofollow\"><u>\u0412 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 TC39<\/u><\/a>, \u0433\u0434\u0435 \u0432\u044b\u043b\u043e\u0436\u0435\u043d\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0441 \u043e\u0434\u043e\u0431\u0440\u0435\u043d\u043d\u044b\u043c\u0438 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f\u043c\u0438. \u0412 \u043d\u0435\u0439 \u043e\u0442\u0440\u0430\u0436\u0435\u043d\u043e, \u0432 \u043a\u0430\u043a\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 ECMAScript \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b (\u0438\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b) \u0444\u0438\u0447\u0438.<\/p>\n<\/li>\n<li>\n<p>\u0412 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 <a href=\"https:\/\/tc39.es\/ecma262\/#sec-intro\" rel=\"noopener noreferrer nofollow\"><u>\u00abIntroduction\u00bb \u044f\u0437\u044b\u043a\u043e\u0432\u043e\u0439 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 ECMAScript <\/u>\u00a0\u2014 \u0432 \u043d\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u043d \u0441\u043f\u0438\u0441\u043e\u043a <\/a>\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 \u043a\u0430\u0436\u0434\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438.<\/p>\n<\/li>\n<li>\n<p>\u0412 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 ECMA-262 \u043d\u0430<a href=\"https:\/\/github.com\/tc39\/ecma262\/releases\" rel=\"noopener noreferrer nofollow\"><u> \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0441 \u0440\u0435\u043b\u0438\u0437\u0430\u043c\u0438<\/u><\/a>.<\/p>\n<\/li>\n<\/ul>\n<h3>\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u044b\u0435 \u043a\u043d\u0438\u0433\u0438 \u043f\u0440\u043e JavaScript\u00a0\u00a0<\/h3>\n<p>\u041c\u043e\u0438 \u043a\u043d\u0438\u0433\u0438 \u043f\u0440\u043e JavaScript \u043c\u043e\u0436\u043d\u043e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043e\u043d\u043b\u0430\u0439\u043d:<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/exploringjs.com\/impatient-js\/\" rel=\"noopener noreferrer nofollow\">\u00ab\u0421\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 JavaScript \u0434\u043b\u044f \u043d\u0435\u0442\u0435\u0440\u043f\u0435\u043b\u0438\u0432\u044b\u0445 (\u0438\u0437\u0434\u0430\u043d\u0438\u0435 ES2022)\u00bb<\/a> \u043e\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442 JavaScript \u0434\u043e ECMAScript 2022 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e.<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/exploringjs.com\/deep-js\/\" rel=\"noopener noreferrer nofollow\">\u00ab\u0413\u043b\u0443\u0431\u043e\u043a\u0438\u0439 JavaScript: \u0442\u0435\u043e\u0440\u0438\u0438 \u0438 \u0442\u0435\u0445\u043d\u0438\u043a\u0438\u00bb<\/a>\u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u0431\u044a\u044f\u0441\u043d\u044f\u0435\u0442 \u043e\u0441\u043d\u043e\u0432\u044b \u044f\u0437\u044b\u043a\u0430.<\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/676032\/\"> https:\/\/habr.com\/ru\/post\/676032\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-335517","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/335517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=335517"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/335517\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=335517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=335517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=335517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}