{"id":268115,"date":"2015-11-12T20:47:06","date_gmt":"2015-11-12T17:47:06","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=268115"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=268115","title":{"rendered":"\u041e\u0431\u0437\u043e\u0440 ES6 \u0432 350 \u043f\u0443\u043d\u043a\u0442\u0430\u0445. \u0427\u0430\u0441\u0442\u044c \u0432\u0442\u043e\u0440\u0430\u044f"},"content":{"rendered":"<p>       \u041c\u043e\u044f \u0441\u0435\u0440\u0438\u044f \u0437\u0430\u043c\u0435\u0442\u043e\u043a <a href=\"https:\/\/ponyfoo.com\/articles\/tagged\/es6-in-depth\">ES6 in Depth<\/a>, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0430\u044f \u0438\u0437 24 \u0437\u0430\u043f\u0438\u0441\u0435\u0439, \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0438 \u043d\u043e\u0432\u043e\u0432\u0432\u0435\u0434\u0435\u043d\u0438\u0439 \u0432 ES6. \u0412 \u044d\u0442\u043e\u0439 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u044f \u043f\u043e\u0434\u0432\u0435\u0434\u0443 \u0438\u0442\u043e\u0433 \u0432\u0441\u0435\u0433\u043e \u0438\u0437\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0433\u043e \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u0441\u0442\u0430\u0442\u044c\u044f\u0445, \u0447\u0442\u043e\u0431\u044b \u0434\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0435\u0449\u0435 \u0440\u0430\u0437 \u043d\u0430 \u0432\u0441\u0451 \u0432\u043c\u0435\u0441\u0442\u0435.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/0ea\/9a3\/48f\/0ea9a348fe1645b88bc56e002e9217a0.png\"\/><br \/>  <a name=\"habracut\"><\/a><\/p>\n<p>  <b>\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435<\/b><\/p>\n<ul>\n<li>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/li>\n<li>\u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439<\/li>\n<li>Assignment Destructing<\/li>\n<li>Spread Operator \u0438 Rest Parameters<\/li>\n<li>\u0421\u0442\u0440\u0435\u043b\u043e\u0447\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438<\/li>\n<li>\u0428\u0430\u0431\u043b\u043e\u043d\u043d\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438<\/li>\n<li>\u041b\u0438\u0442\u0435\u0440\u0430\u043b\u044b \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432<\/li>\n<li>\u041a\u043b\u0430\u0441\u0441\u044b<\/li>\n<li>Let \u0438 Const<\/li>\n<li>\u0421\u0438\u043c\u0432\u043e\u043b\u044b<\/li>\n<li>\u0418\u0442\u0435\u0440\u0430\u0442\u043e\u0440\u044b<\/li>\n<li>\u0413\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u044b<\/li>\n<li>\u041f\u0440\u043e\u043c\u0438\u0441\u044b<\/li>\n<li>Maps<\/li>\n<li>WeakMaps<\/li>\n<li>Sets<\/li>\n<li>WeakSets<\/li>\n<li>\u041f\u0440\u043e\u043a\u0441\u0438<\/li>\n<li>Reflection<\/li>\n<li>Number<\/li>\n<li>Math<\/li>\n<li>Array<\/li>\n<li>Object<\/li>\n<li>\u0421\u0442\u0440\u043e\u043a\u0438 \u0438 Unicode<\/li>\n<li>\u041c\u043e\u0434\u0443\u043b\u0438<\/li>\n<\/ul>\n<p>  \u0427\u0430\u0441\u0442\u044c \u043f\u0435\u0440\u0432\u0430\u044f: <a href=\"http:\/\/habrahabr.ru\/company\/plarium\/blog\/270353\/\">\u0437\u0434\u0435\u0441\u044c.<\/a><\/p>\n<p>  <b>\u0421\u0438\u043c\u0432\u043e\u043b\u044b<\/b><\/p>\n<ul>\n<li>\u041d\u043e\u0432\u044b\u0439 \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u043d\u044b\u0439 \u0442\u0438\u043f \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 ES6.<\/li>\n<li>\u041c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b: <code> var symbol = Symbol() <\/code><\/li>\n<li>\u041c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0434\u043b\u044f \u043d\u0443\u0436\u0434 \u043e\u0442\u043b\u0430\u0434\u043a\u0438 <code> Symbol('ponyfoo') <\/code><\/li>\n<li>\u0421\u0438\u043c\u0432\u043e\u043b\u044b \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c\u044b \u0438 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b: <code> Symbol() <\/code>, <code> Symbol() <\/code>, <code> Symbol('foo') <\/code> \u0438 <code> Symbol('foo') <\/code> \u2013 \u0432\u0441\u0435 \u0440\u0430\u0437\u043d\u044b\u0435.<\/li>\n<li>\u0422\u0438\u043f \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u2013 <code> symbol <\/code>, \u0442\u0430\u043a \u0447\u0442\u043e <code> typeof Symbol() === 'symbol' <\/code>.<\/li>\n<li>\u041c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <code> Symbol.for(key) <\/code>.<\/li>\n<\/ul>\n<p>  <\/p>\n<ul>\n<li>\u0415\u0441\u043b\u0438 \u0441\u0438\u043c\u0432\u043e\u043b \u0441 \u044d\u0442\u0438\u043c <code> key <\/code> \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442, \u0432\u044b\u0437\u043e\u0432 \u0435\u0433\u043e \u0432\u0435\u0440\u043d\u0435\u0442.<\/li>\n<li>\u0418\u043d\u0430\u0447\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u043d \u043d\u043e\u0432\u044b\u0439 \u0441\u0438\u043c\u0432\u043e\u043b \u0441 <code> key <\/code> \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f.<\/li>\n<li><code> Symbol.keyFor(symbol) <\/code> \u2013 \u044d\u0442\u043e \u043e\u0431\u0440\u0430\u0442\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f, \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0449\u0430\u044f <code> symbol <\/code> \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0449\u0430\u044f \u0435\u0433\u043e <code> key <\/code>.<\/li>\n<li>\u0413\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044d\u0442\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0442\u043e \u0435\u0441\u0442\u044c \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e. \u0414\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0438\u043c\u0432\u043e\u043b\u0430\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0435\u0434\u0438\u043d\u044b\u0439 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u0433\u0438\u0441\u0442\u0440:<\/li>\n<li>\u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 <code> window <\/code>;<\/li>\n<li>\u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 <code> eval <\/code>;<\/li>\n<li>\u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 <code> &lt;iframe&gt; Symbol.for('foo') === iframe.contentWindow.Symbol.for('foo') <\/code>.<\/li>\n<\/ul>\n<p>  <\/p>\n<ul>\n<li>\u0422\u0430\u043a\u0436\u0435 \u0435\u0441\u0442\u044c \u00ab\u0448\u0438\u0440\u043e\u043a\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435\u00bb \u0441\u0438\u043c\u0432\u043e\u043b\u044b:<\/li>\n<li>\u043d\u0435 \u0432 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0439 \u0447\u0435\u0440\u0435\u0437 <code> Symbol[name], <\/code> \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <code> Symbol.iterator <\/code>;<\/li>\n<li>\u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0439, \u0432 \u0441\u043c\u044b\u0441\u043b\u0435 <code> Symbol.iterator === iframe.contentWindow.Symbol.iterator <\/code>;<\/li>\n<li>\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f\u043c\u0438 \u0434\u043b\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a <a href=\"https:\/\/ponyfoo.com\/articles\/es6#iterators\">iterable protocol<\/a> \u0447\u0435\u0440\u0435\u0437 <code> Symbol.iterator <\/code>;<\/li>\n<li>\u043e\u043d\u0438 \u043d\u0435 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u00ab\u0448\u0438\u0440\u043e\u043a\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u043c\u0438\u00bb \u0432 \u043e\u0431\u0449\u0435\u043f\u0440\u0438\u043d\u044f\u0442\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435.<\/li>\n<li>\u0418\u0442\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u043c\u043e\u0436\u043d\u043e, \u044d\u0442\u043e \u0441\u043b\u043e\u0436\u043d\u043e \u0438 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043d\u0435 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e.<\/li>\n<li>\u0421\u0438\u043c\u0432\u043e\u043b\u044b \u0441\u043a\u0440\u044b\u0442\u044b \u0434\u043b\u044f \u0432\u0441\u0435\u0445 reflection-\u043c\u0435\u0442\u043e\u0434\u043e\u0432, \u043f\u0440\u0435\u0434\u0448\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 ES6.<\/li>\n<li>\u0421\u0438\u043c\u0432\u043e\u043b\u044b \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0447\u0435\u0440\u0435\u0437 <code> Object.getOwnPropertySymbols <\/code>.<\/li>\n<li>\u0412\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u0442\u0435 \u0447\u0435\u0440\u0435\u0437 \u043d\u0438\u0445 \u0441\u043f\u043e\u0442\u044b\u043a\u0430\u0442\u044c\u0441\u044f, \u043d\u043e \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0445 \u043d\u0430\u0439\u0434\u0435\u0442\u0435 \u043f\u0440\u0438 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u043c \u043f\u043e\u0438\u0441\u043a\u0435.<\/li>\n<li>\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 <a href=\"https:\/\/ponyfoo.com\/articles\/es6-symbols-in-depth\">ES6 Symbols in Depth.<\/a><\/li>\n<\/ul>\n<p>  <b>\u0418\u0442\u0435\u0440\u0430\u0442\u043e\u0440\u044b<\/b><\/p>\n<ul>\n<li>\u0418\u0442\u0435\u0440\u0430\u0442\u043e\u0440 \u0438 iterable protocol \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442\u044c \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044f \u043f\u043e \u043b\u044e\u0431\u043e\u043c\u0443 \u043e\u0431\u044a\u0435\u043a\u0442\u0443, \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u043f\u043e\u0434\u043e\u0431\u043d\u043e\u043c\u0443 \u0438\u043b\u0438 \u043c\u0430\u0441\u0441\u0438\u0432\u0443.<\/li>\n<li>\u00ab\u0428\u0438\u0440\u043e\u043a\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435\u00bb <code> Symbol <\/code> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0434\u043b\u044f \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u0442\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \u043b\u044e\u0431\u043e\u043c\u0443 \u043e\u0431\u044a\u0435\u043a\u0442\u0443.<\/li>\n<li><code> var foo = { [Symbol.iterator]: iterable} <\/code>, \u0438\u043b\u0438 <code> foo[Symbol.iterator] = iterable <\/code>.<\/li>\n<li><code> iterable <\/code> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043c\u0435\u0442\u043e\u0434\u043e\u043c, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0449\u0438\u043c \u043e\u0431\u044a\u0435\u043a\u0442 \u0438\u0442\u0435\u0440\u0430\u0442\u043e\u0440\u0430, \u0443 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0435\u0441\u0442\u044c \u043c\u0435\u0442\u043e\u0434 <code> next <\/code>.<\/li>\n<li>\u041c\u0435\u0442\u043e\u0434 <code> next <\/code> \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 \u0441 \u0434\u0432\u0443\u043c\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438: <code> value and done <\/code>.<\/li>\n<li>\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e <code> value <\/code> \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044f.<\/li>\n<li>\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e <code> done <\/code> \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043e\u0441\u0442\u0430\u0432\u0448\u0438\u0445\u0441\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438.<\/li>\n<li>\u041e\u0431\u044a\u0435\u043a\u0442\u044b, \u0438\u043c\u0435\u044e\u0449\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <code> [Symbol.iterator] <\/code>, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0434\u043b\u044f \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 \u043f\u043e \u043d\u0438\u043c, \u0442\u0430\u043a \u043a\u0430\u043a \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u043c\u0438 \u043d\u0430 iterable protocol.<\/li>\n<li>\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u0448\u0442\u0443\u043a\u0438 \u0432\u0440\u043e\u0434\u0435 <code> Array <\/code>, <code> String <\/code> \u0438\u043b\u0438 <code> arguments <\/code> (\u0438 <code> NodeList <\/code> \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445) \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0434\u043b\u044f \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 \u0432 ES6.<\/li>\n<li>\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0434\u043b\u044f \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u0435\u0440\u0435\u0431\u0440\u0430\u043d\u044b \u0446\u0438\u043a\u043b\u043e\u043c <code> for..of <\/code>, \u0442\u0430\u043a \u0436\u0435 \u043a\u0430\u043a \u0438 <code> for (let el of document.querySelectorAll('a')) <\/code>.<\/li>\n<li>\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0434\u043b\u044f \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u043d\u044b \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 spread operator, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <code> [...document.querySelectorAll('a')] <\/code>.<\/li>\n<li>\u0422\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code> Array.from(document.querySelectorAll('a'))  <\/code>\u0441 \u0446\u0435\u043b\u044c\u044e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0438\u0437 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0439 \u0434\u043b\u044f \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438.<\/li>\n<li>\u0418\u0442\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u00ab\u043b\u0435\u043d\u0438\u0432\u044b\u00bb, \u0438 \u0442\u0435 \u0438\u0437 \u043d\u0438\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u0437\u0434\u0430\u044e\u0442 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u0446\u0438\u043a\u043b, \u0432\u0441\u0451 \u0435\u0449\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b \u0432 \u0432\u0430\u043b\u0438\u0434\u043d\u044b\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0445.<\/li>\n<li>\u0411\u0443\u0434\u044c\u0442\u0435 \u043e\u0441\u0442\u043e\u0440\u043e\u0436\u043d\u044b \u0438 \u043d\u0435 \u043f\u044b\u0442\u0430\u0439\u0442\u0435\u0441\u044c \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u0443\u044e \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438\u2026 \u0438\u043b\u0438 <code> Array.from <\/code>, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u044d\u0442\u043e \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u0442 \u043a \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u043e\u0433\u043e \u0446\u0438\u043a\u043b\u0430.<\/li>\n<li>\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 <a href=\"https:\/\/ponyfoo.com\/articles\/es6-iterators-in-depth\">ES6 Iterators in Depth.<\/a><\/li>\n<\/ul>\n<p>  <b>\u0413\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u044b<\/b><\/p>\n<ul>\n<li>\u0424\u0443\u043d\u043a\u0446\u0438\u0438-\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u2013 \u044d\u0442\u043e \u043e\u0441\u043e\u0431\u044b\u0439 \u0432\u0438\u0434 \u0438\u0442\u0435\u0440\u0430\u0442\u043e\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430<code>  function* generator () {}. <\/code><\/li>\n<li>\u0424\u0443\u043d\u043a\u0446\u0438\u0438-\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043a\u043b\u044e\u0447\u0435\u0432\u043e\u0435 \u0441\u043b\u043e\u0432\u043e <code> yield <\/code>, \u0447\u0442\u043e\u0431\u044b \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438.<\/li>\n<li>\u0424\u0443\u043d\u043a\u0446\u0438\u0438-\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0433\u0443\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <code> yield* <\/code> \u0434\u043b\u044f \u043e\u0442\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 \u0434\u0440\u0443\u0433\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e-\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u0438\u043b\u0438 \u043b\u044e\u0431\u043e\u0439 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0439 \u0434\u043b\u044f \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 \u043e\u0431\u044a\u0435\u043a\u0442.<\/li>\n<li>\u0424\u0443\u043d\u043a\u0446\u0438\u0438-\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u044b \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0438\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432 \u0438\u0442\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \u0438 iterable.<\/li>\n<li>\u0414\u0430\u043d\u043e <code> g = generator(), g <\/code> \u043f\u0440\u0438\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f iterable-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e <code> g[Symbol.iterator] <\/code> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043c\u0435\u0442\u043e\u0434\u043e\u043c.<\/li>\n<li>\u0414\u0430\u043d\u043e <code> g = generator(), g <\/code> \u043f\u0440\u0438\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 \u0438\u0442\u0435\u0440\u0430\u0442\u043e\u0440\u0430, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e <code> g.next <\/code> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043c\u0435\u0442\u043e\u0434\u043e\u043c.<\/li>\n<li>\u0418\u0442\u0435\u0440\u0430\u0442\u043e\u0440 \u0434\u043b\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430<code>  g <\/code> \u2013 \u044d\u0442\u043e \u0441\u0430\u043c \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440: <code> g[Symbol.iterator]() === g <\/code>.<\/li>\n<li>\u041c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <code> Array.from(g) <\/code>, <code> [...g], for (let item of g <\/code>) \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u0437\u0432\u0430\u0432 <code> g.next() <\/code>.<\/li>\n<li>\u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438-\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \u043f\u0440\u0438\u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441 \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u0435\u043c \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u0447\u0435\u0442\u044b\u0440\u0435\u0445 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445:<\/li>\n<li>\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 <code> yield <\/code> \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u0438;<\/li>\n<li>\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 <code> return <\/code> \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u0438;<\/li>\n<li>\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 <code> throw  <\/code>\u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430;<\/li>\n<li>\u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u0446\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0438-\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430 \u0441\u0438\u0433\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442<code>  { done: true } <\/code>.<\/li>\n<li>\u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0447\u0435\u0440\u0435\u0434\u044c <code> g  <\/code>\u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u0430\u0441\u044c, <code> g.next()  <\/code>\u043f\u0440\u043e\u0441\u0442\u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 <code> { done: true} <\/code>, \u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442.<\/li>\n<li>\u041e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 \u0432 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u043c \u0441\u0442\u0438\u043b\u0435.<\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e-\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440.<\/li>\n<li>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u043a\u043e\u0434 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0432\u0440\u0435\u043c\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439.<\/li>\n<li>\u0412\u044b\u0437\u043e\u0432 <code> g.next() <\/code> \u0432\u043e\u0437\u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u043a\u043e\u0434\u0430.<\/li>\n<li>\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 <a href=\"https:\/\/ponyfoo.com\/articles\/es6-generators-in-depth\">ES6 Generators in Depth.<\/a><\/li>\n<\/ul>\n<p>  <b>\u041f\u0440\u043e\u043c\u0438\u0441\u044b<\/b><\/p>\n<ul>\n<li>\u0421\u043b\u0435\u0434\u0443\u044e\u0442 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 <a href=\"https:\/\/promisesaplus.com\/\">Promises\/A+<\/a>, \u0443\u0436\u0435 \u0448\u0438\u0440\u043e\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c\u043e\u0439 \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u0437\u0430\u0434\u043e\u043b\u0433\u043e \u0434\u043e \u0442\u043e\u0433\u043e, \u043a\u0430\u043a ES6 \u0431\u044b\u043b \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <a href=\"https:\/\/github.com\/petkaantonov\/bluebird\">bluebird<\/a>).<\/li>\n<li>\u041f\u0440\u043e\u043c\u0438\u0441\u044b \u0438\u043c\u0435\u044e\u0442 \u0434\u0440\u0435\u0432\u043e\u0432\u0438\u0434\u043d\u043e\u0435 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0439\u0442\u0435 \u0432\u0435\u0442\u0432\u0438 <code> p.then(handler) <\/code> \u0438 <code> p.catch(handler) <\/code>.<\/li>\n<li>\u0421\u043e\u0437\u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u043e\u0432\u044b\u0435 \u043f\u0440\u043e\u043c\u0438\u0441\u044b <code> p <\/code> \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <code> new Promise((resolve, reject) =&gt; { \/* resolver *\/ }) <\/code>.<\/li>\n<li>Callback <code> resolve(value) <\/code> \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442 \u043f\u0440\u043e\u043c\u0438\u0441 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c <code> value <\/code>.<\/li>\n<li>Callback <code> reject(reason) <\/code> \u043e\u0442\u043a\u043b\u043e\u043d\u0438\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u043c\u0438\u0441\u0430 \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 reason.<\/li>\n<li>\u042d\u0442\u0438 \u043c\u0435\u0442\u043e\u0434\u044b \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e, \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u044f \u0431\u043e\u043b\u0435\u0435 \u0433\u043b\u0443\u0431\u043e\u043a\u0438\u0435 \u0432\u0435\u0442\u0432\u0438 \u0432 \u0434\u0435\u0440\u0435\u0432\u0435 \u043f\u0440\u043e\u043c\u0438\u0441\u043e\u0432.<\/li>\n<li>\u041a\u0430\u0436\u0434\u044b\u0439 \u0432\u044b\u0437\u043e\u0432 <code> p.then <\/code> \u0438 <code> p.catch <\/code> \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u043f\u0440\u043e\u043c\u0438\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u043b\u043e\u043a\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043d\u0430 \u0432\u0440\u0435\u043c\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f <code> p <\/code>.<\/li>\n<li>\u041f\u0440\u043e\u043c\u0438\u0441\u044b \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u0432 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u044b, \u0431\u0443\u0434\u0443\u0447\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u044b\u043c\u0438 \u0438\u043b\u0438 \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u043d\u044b\u043c\u0438.<\/li>\n<li>\u041f\u0440\u043e\u043c\u0438\u0441 \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0440\u0430\u0437. \u041e\u043d \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u043c \u0438 \u0440\u0430\u0437\u0431\u043b\u043e\u043a\u0438\u0440\u0443\u0435\u0442 \u0431\u043e\u043b\u0435\u0435 \u0433\u043b\u0443\u0431\u043e\u043a\u043e \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0432\u0435\u0442\u0432\u0438.<\/li>\n<li>\u041c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u0438\u0442\u044c \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443\u0433\u043e\u0434\u043d\u043e \u043f\u0440\u043e\u043c\u0438\u0441\u043e\u0432 \u043a \u043b\u044e\u0431\u043e\u043c\u0443 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u043c\u0443 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u0432\u0435\u0442\u0432\u0435\u0439.<\/li>\n<li>\u041a\u0430\u0436\u0434\u0430\u044f \u0432\u0435\u0442\u0432\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442 \u0441\u0432\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a .<code> then <\/code> \u0438\u043b\u0438 <code> .catch <\/code>, \u043d\u043e \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043e\u0431\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430.<\/li>\n<li>Callback <code> .then <\/code> \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0432\u0435\u0442\u0432\u0438, \u0432\u0435\u0440\u043d\u0443\u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.<\/li>\n<li>Callback <code> .then <\/code> \u043c\u043e\u0436\u0435\u0442 \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0439 \u043f\u0440\u043e\u043c\u0438\u0441, \u0432\u0435\u0440\u043d\u0443\u0432 \u0435\u0433\u043e.<\/li>\n<li><code> p.catch(fn).catch(fn) <\/code> \u043d\u0435 \u0441\u0442\u0430\u043d\u0435\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u0442\u043e, \u0447\u0442\u043e \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435. \u0420\u0430\u0437\u0432\u0435 \u0447\u0442\u043e \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0438 \u0432 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0435 \u043e\u0448\u0438\u0431\u043e\u043a.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-promises-in-depth#using-promiseresolve-and-promisereject\"><code> Promise.resolve(value) <\/code><\/a> \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043f\u0440\u043e\u043c\u0438\u0441, \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0439 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c <code> value <\/code>.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-promises-in-depth#using-promiseresolve-and-promisereject\"><code> Promise.reject(reason) <\/code><\/a> \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043f\u0440\u043e\u043c\u0438\u0441, \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u043d\u044b\u0439 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c <code> reason <\/code>.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-promises-in-depth#leveraging-promiseall-and-promiserace\"><code> Promise.all(...promises) <\/code> <\/a>\u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043f\u0440\u043e\u043c\u0438\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u0442\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u0432\u0441\u0435 \u043f\u0440\u043e\u043c\u0438\u0441\u044b <code> ...promises <\/code> \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u044b \u0438\u043b\u0438 \u043e\u0434\u0438\u043d \u0438\u0437 \u043d\u0438\u0445 \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-promises-in-depth#leveraging-promiseall-and-promiserace\"><code> Promise.race(...promises) <\/code><\/a> \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043f\u0440\u043e\u043c\u0438\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u0442\u0441\u044f, \u043a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0438\u0437 \u043f\u0440\u043e\u043c\u0438\u0441\u043e\u0432 <code> ...promises <\/code> \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d.<\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <a href=\"http:\/\/bevacqua.github.io\/promisees\/\">Promisees<\/a> \u2013 \u043f\u0435\u0441\u043e\u0447\u043d\u0438\u0446\u0443 \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u043c\u0438\u0441\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0438\u0445 \u0440\u0430\u0431\u043e\u0442\u044b \u0435\u0449\u0435 \u043b\u0443\u0447\u0448\u0435.<\/li>\n<li>\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 <a href=\"https:\/\/ponyfoo.com\/articles\/es6-promises-in-depth\">ES6 Promises in Depth. <\/a><\/li>\n<\/ul>\n<p>  <b>Maps<\/b><\/p>\n<ul>\n<li>\u0417\u0430\u043c\u0435\u043d\u0430 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f hash-map \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 JavaScript.<\/li>\n<li>\u041f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0441 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u043c\u0438 \u043a\u043b\u044e\u0447\u0430\u043c\u0438.<\/li>\n<li>\u041c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043a\u043b\u044e\u0447\u0435\u0439, \u0434\u0430\u0436\u0435 DOM-\u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0438\u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438.<\/li>\n<li><code> Map <\/code> \u043f\u0440\u0438\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f <a href=\"https:\/\/ponyfoo.com\/articles\/es6#iterators\">iterable<\/a>-\u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430.<\/li>\n<li>\u0421\u043e\u0437\u0434\u0430\u0432\u0430\u0439\u0442\u0435 <code> map <\/code> \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <code> new Map() <\/code>.<\/li>\n<li>\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0439\u0442\u0435 <code> map <\/code> \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <code> iterable <\/code> \u0432\u0438\u0434\u0430 <code> [[key1, value1], [key2, value2]] <\/code> \u0432 new <code> Map(iterable) <\/code>.<\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <code> map.set(key, value) <\/code> \u0434\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432.<\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <code> map.get(key) <\/code> \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432.<\/li>\n<li>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0439\u0442\u0435 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 <code> key <\/code> \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <code> map.has(key) <\/code>.<\/li>\n<li>\u0423\u0434\u0430\u043b\u044f\u0439\u0442\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <code> map.delete(key) <\/code>.<\/li>\n<li>\u0418\u0442\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e <code> map <\/code> \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <code> for (let [key, value] of map) <\/code>, the spread operator, <code> Array.from <\/code>, \u0438 \u0442. \u0434.<\/li>\n<li>\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 <a href=\"https:\/\/ponyfoo.com\/articles\/es6-maps-in-depth\">ES6 Maps in Depth.<\/a><\/li>\n<\/ul>\n<p>  <b>WeakMaps<\/b><\/p>\n<ul>\n<li>\u041f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 <code> Map <\/code>, \u043d\u043e \u043d\u0435 \u0442\u043e \u0436\u0435.<\/li>\n<li><code> WeakMap <\/code> \u043d\u0435 \u043f\u0440\u0438\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f iterable \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430, \u0442\u0430\u043a \u0447\u0442\u043e \u0443 \u043d\u0435\u0433\u043e \u043d\u0435\u0442 \u0442\u0430\u043a\u0438\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f, \u043a\u0430\u043a <code> .forEach <\/code>, <code> .clear <\/code> \u0438 \u0434\u0440\u0443\u0433\u0438\u0445, \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0432 <code> Map <\/code>.<\/li>\n<li>\u041a\u043b\u044e\u0447\u0438 <code> WeakMap <\/code> \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0430\u043c\u0438. \u041d\u0435\u043b\u044c\u0437\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0442\u0438\u043f\u0430 symbol, number \u0438\u043b\u0438 string \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043a\u043b\u044e\u0447\u0430.<\/li>\n<li>\u042d\u043b\u0435\u043c\u0435\u043d\u0442\u044b <code> WeakMap <\/code> \u0441 <code> key <\/code>, \u044f\u0432\u043b\u044f\u044e\u0449\u0438\u043c\u0441\u044f \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u0441\u0441\u044b\u043b\u043a\u043e\u0439 \u043d\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e, \u043f\u043e\u0434\u0431\u0438\u0440\u0430\u044e\u0442\u0441\u044f \u0441\u0431\u043e\u0440\u0449\u0438\u043a\u043e\u043c \u043c\u0443\u0441\u043e\u0440\u0430.<\/li>\n<li>\u0418\u0437 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0433\u043e \u043f\u0443\u043d\u043a\u0442\u0430 \u0441\u043b\u0435\u0434\u0443\u0435\u0442, \u0447\u0442\u043e <code> WeakMap <\/code> \u2013 \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0431 \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0441\u0451 \u0435\u0449\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f.<\/li>\n<li>\u0412\u044b \u0438\u0437\u0431\u0435\u0433\u0430\u0435\u0442\u0435 \u0443\u0442\u0435\u0447\u0435\u043a \u043f\u0430\u043c\u044f\u0442\u0438 \u0431\u0435\u0437 \u0440\u0443\u0447\u043d\u043e\u0433\u043e \u0443\u0447\u0435\u0442\u0430 \u0441\u0441\u044b\u043b\u043e\u043a \u2013 \u0434\u0443\u043c\u0430\u0439\u0442\u0435 \u043e <code> WeakMap <\/code> \u043a\u0430\u043a \u043e\u0431 <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/system.idisposable%28v=vs.110%29.aspx?f=255&amp;MSPPError=-2147217396\"><code> IDisposable <\/code><\/a> \u0432 .NET.<\/li>\n<li>\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 <a href=\"https:\/\/ponyfoo.com\/articles\/es6-weakmaps-sets-and-weaksets-in-depth#es6-weakmaps\">ES6 WeakMaps in Depth.<\/a><\/li>\n<\/ul>\n<p>  <b>Sets<\/b><\/p>\n<ul>\n<li>\u041f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 <code> Map <\/code>, \u043d\u043e \u043d\u0435 \u0442\u043e \u0436\u0435.<\/li>\n<li>\u0412 <code> Set <\/code> \u043d\u0435\u0442 \u043a\u043b\u044e\u0447\u0435\u0439, \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f.<\/li>\n<li><code> set.set(value) <\/code> \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043d\u0435 \u043e\u0447\u0435\u043d\u044c, \u0442\u0430\u043a \u0447\u0442\u043e \u0432\u043c\u0435\u0441\u0442\u043e \u043d\u0435\u0433\u043e \u0435\u0441\u0442\u044c <code> set.add(value) <\/code>.<\/li>\n<li>\u0412 Set \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0434\u0432\u0443\u0445 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f Set \u2013 \u044d\u0442\u043e \u0435\u0433\u043e \u043a\u043b\u044e\u0447\u0438.<\/li>\n<li>\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 <a href=\"https:\/\/ponyfoo.com\/articles\/es6-weakmaps-sets-and-weaksets-in-depth#es6-sets\">ES6 Sets in Depth.<\/a><\/li>\n<\/ul>\n<p>  <b>WeakSets<\/b><\/p>\n<ul>\n<li>\u041d\u0435\u0447\u0442\u043e \u0441\u0440\u0435\u0434\u043d\u0435\u0435 \u043c\u0435\u0436\u0434\u0443 <code>Set<\/code> \u0438 <code>WeakMap<\/code>.<\/li>\n<li><code>WeakSet<\/code> \u2013 \u044d\u0442\u043e set, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043d\u0435\u043b\u044c\u0437\u044f \u0438\u0442\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0443 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0435\u0442 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f.<\/li>\n<li>\u041a\u043b\u044e\u0447\u0438 <code>WeakSet<\/code> \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0430\u043c\u0438.<\/li>\n<li><code>WeakSet<\/code> \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d \u043a\u0430\u043a \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0430\u044f, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043b\u0438 \u0441\u0441\u044b\u043b\u043a\u0430 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0439.<\/li>\n<li>\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 ES6 <a href=\"https:\/\/ponyfoo.com\/articles\/es6-weakmaps-sets-and-weaksets-in-depth#es6-weaksets\">WeakSets in Depth.<\/a><\/li>\n<\/ul>\n<p>  <b>\u041f\u0440\u043e\u043a\u0441\u0438<\/b><\/p>\n<ul>\n<li>\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0440\u043e\u043a\u0441\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <code> new Proxy(target, handler) <\/code>, \u0433\u0434\u0435 <code> target <\/code> \u2013 \u044d\u0442\u043e \u043b\u044e\u0431\u043e\u0439 \u043e\u0431\u044a\u0435\u043a\u0442, \u0430 <code> handler <\/code> \u2013 \u044d\u0442\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438.<\/li>\n<li>\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043e\u0431\u044a\u0435\u043a\u0442 <code> proxy <\/code> \u0432\u0435\u0434\u0435\u0442 \u0441\u0435\u0431\u044f \u043a\u0430\u043a \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0431\u044a\u0435\u043a\u0442 <code> target <\/code>.<\/li>\n<li>\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043e\u0431\u044a\u0435\u043a\u0442\u0443 <code> target <\/code> \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u043a\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.<\/li>\n<li>\u0412\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u0432 <code> proxy <\/code> \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0435 \u043f\u043e\u043b\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u043d\u0430\u0434 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0441 <code> target <\/code>.<\/li>\n<li>\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 (handlers) \u0442\u0430\u043a\u0436\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b \u043a\u0430\u043a \u043b\u043e\u0432\u0443\u0448\u043a\u0438 (traps) \u2013 \u044d\u0442\u0438 \u0442\u0435\u0440\u043c\u0438\u043d\u044b \u0432\u0437\u0430\u0438\u043c\u043e\u0437\u0430\u043c\u0435\u043d\u044f\u0435\u043c\u044b.<\/li>\n<li>\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0442\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0435 \u043f\u0440\u043e\u043a\u0441\u0438 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <code> Proxy.revocable(target, handler) <\/code>.<\/li>\n<li>\u042d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u0432\u0435\u0440\u043d\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 \u0441\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 <code> proxy <\/code> \u0438 <code> revoke <\/code>.<\/li>\n<li>\u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/ponyfoo.com\/articles\/es6#destructuring\">\u043f\u0438\u0441\u0430\u0442\u044c<\/a> \u0442\u0430\u043a: <code> var {proxy, revoke} = Proxy.revocable(target, handler) <\/code>.<\/li>\n<li>\u041c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c <code> proxy <\/code> \u0442\u043e\u0447\u043d\u043e \u0442\u0430\u043a \u0436\u0435, \u043a\u0430\u043a \u0438 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 <code> new Proxy(target, handler) <\/code>.<\/li>\n<li>\u041f\u043e\u0441\u043b\u0435 \u0432\u044b\u0437\u043e\u0432\u0430 <code> revoke() proxy <\/code> \u0431\u0443\u0434\u0435\u0442 \u0431\u0440\u043e\u0441\u0430\u0442\u044c \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043f\u0440\u0438 \u043b\u044e\u0431\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438, \u0447\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u043d\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c \u0432\u0430\u0448\u0435\u0433\u043e \u043a\u043e\u0434\u0430.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-proxies-in-depth#get\"><code> get <\/code><\/a> \u2013 \u043b\u043e\u0432\u0438\u0442 <code> proxy.prop <\/code> \u0438 <code> proxy['prop'] <\/code>.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-proxies-in-depth#set\"><code> set <\/code><\/a> \u2013 \u043b\u043e\u0432\u0438\u0442 <code> proxy.prop = value \u0438 proxy['prop'] = value <\/code>.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-proxy-traps-in-depth#has\"><code> has <\/code><\/a> \u2013 \u043b\u043e\u0432\u0438\u0442 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440<code>  in <\/code>.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-proxy-traps-in-depth#deleteproperty\"><code> deleteProperty <\/code><\/a> \u2013 \u043b\u043e\u0432\u0438\u0442 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 <code> delete operator <\/code>.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-proxy-traps-in-depth#defineproperty\"><code> defineProperty <\/code><\/a> \u2013 \u043b\u043e\u0432\u0438\u0442 <code> Object.defineProperty <\/code> \u0438 \u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u0435 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u044b.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-proxy-traps-in-depth#enumerate\"><code> enumerate <\/code><\/a> \u2013 \u043b\u043e\u0432\u0438\u0442 \u0446\u0438\u043a\u043b\u044b <code> for..in <\/code>.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-proxy-traps-in-depth#ownkeys\"><code> ownKeys <\/code><\/a> \u2013 \u043b\u043e\u0432\u0438\u0442 <code> Object.keys <\/code> \u0438 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-proxy-traps-in-depth#apply\"><code> apply <\/code><\/a> \u2013 \u043b\u043e\u0432\u0438\u0442 \u0432\u044b\u0437\u043e\u0432\u044b \u0444\u0443\u043d\u043a\u0446\u0438\u0439.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/morees6-proxy-traps-in-depth#construct\"><code> construct <\/code><\/a> \u2013 \u043b\u043e\u0432\u0438\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 <code> new <\/code>.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/morees6-proxy-traps-in-depth#getprototypeof\"><code> getPrototypeOf <\/code><\/a> \u2013 \u043b\u043e\u0432\u0438\u0442 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 \u0432\u044b\u0437\u043e\u0432\u044b <code> [[GetPrototypeOf]] <\/code>.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/morees6-proxy-traps-in-depth#setprototypeof\"><code> setPrototypeOf  <\/code><\/a>\u2013 \u043b\u043e\u0432\u0438\u0442 \u0432\u044b\u0437\u043e\u0432\u044b <code> Object.setPrototypeOf. <\/code><\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/morees6-proxy-traps-in-depth#isextensible\"><code> isExtensible <\/code><\/a> \u2013 \u043b\u043e\u0432\u0438\u0442 \u0432\u044b\u0437\u043e\u0432\u044b <code> Object.isExtensible <\/code>.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/morees6-proxy-traps-in-depth#preventextensions\"><code> preventExtensions <\/code><\/a> \u2013 \u043b\u043e\u0432\u0438\u0442 \u0432\u044b\u0437\u043e\u0432\u044b <code> Object.preventExtensions <\/code>.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/morees6-proxy-traps-in-depth#getownpropertydescriptor\"><code> getOwnPropertyDescriptor <\/code><\/a> \u2013 \u043b\u043e\u0432\u0438\u0442 \u0432\u044b\u0437\u043e\u0432\u044b <code> Object.getOwnPropertyDescriptor <\/code>.<\/li>\n<li>\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 <a href=\"https:\/\/ponyfoo.com\/articles\/es6-proxies-in-depth\">ES6 Proxies in Depth.<\/a><\/li>\n<li>\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 <a href=\"https:\/\/ponyfoo.com\/articles\/es6-proxy-traps-in-depth\">ES6 Proxy Traps in Depth.<\/a><\/li>\n<li>\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 <a href=\"https:\/\/ponyfoo.com\/articles\/more-es6-proxy-traps-in-depth\">More ES6 Proxy Traps in Depth.<\/a><\/li>\n<\/ul>\n<p>  <b>Reflection<\/b>  <\/p>\n<ul>\n<li><code> Reflection <\/code> \u2013 \u043d\u043e\u0432\u044b\u0439 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 (\u0432\u0440\u043e\u0434\u0435 <code> Math <\/code>) \u0432 ES6.<\/li>\n<li>\u041c\u0435\u0442\u043e\u0434\u044b <code> Reflection <\/code> \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0447\u0443\u0432\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, Reflect.defineProperty \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 boolean \u0432\u043c\u0435\u0441\u0442\u043e \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0431\u0440\u043e\u0441\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443.<\/li>\n<li>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043c\u0435\u0442\u043e\u0434 Reflection \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u043f\u0440\u043e\u043a\u0441\u0438, \u043e\u043d \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.<\/li>\n<li>\u0417\u0430\u0431\u0435\u0433\u0430\u044f \u043d\u0430\u043f\u0435\u0440\u0435\u0434, \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u043d\u043e\u0432\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b reflection \u0431\u0443\u0434\u0443\u0442 \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u044b \u0432 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435 \u0438\u043c\u0435\u043d Reflection \u0432 \u0442\u043e\u043c \u0436\u0435 \u043a\u043b\u044e\u0447\u0435, \u0447\u0442\u043e \u0438 Object.keys.<\/li>\n<li>\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 <a href=\"https:\/\/ponyfoo.com\/articles\/es6-reflection-in-depth\">ES6 Reflection in Depth.<\/a><\/li>\n<\/ul>\n<p>  <b><code> Number <\/code><\/b><\/p>\n<ul>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043f\u0440\u0435\u0444\u0438\u043a\u0441 <code> 0b <\/code> \u0434\u043b\u044f \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0445 \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u043e\u0432 \u0438 <code> 0o <\/code> \u2013 \u0434\u043b\u044f \u0432\u043e\u0441\u044c\u043c\u0435\u0440\u0438\u0447\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b.<\/li>\n<li><code> Number.isNaN <\/code> \u0438 <code> Number.isFinite <\/code> \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0442\u0430\u043a \u0436\u0435, \u043a\u0430\u043a \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b, \u0437\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043d\u0435 \u043f\u0440\u0438\u0432\u043e\u0434\u044f\u0442 \u0432\u0432\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043a \u0442\u0438\u043f\u0443 <code> Number. <\/code><\/li>\n<li><code> Number.parseInt <\/code> \u0438 <code> Number.parseFloat <\/code> \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u044b \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u043c \u043c\u0435\u0442\u043e\u0434\u0430\u043c.<\/li>\n<li><code> Number.isInteger <\/code> \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0432\u0432\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u0442\u0438\u043f\u0443 <code> Number <\/code> \u2013 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0438\u043c\u0435\u0442\u044c \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u0438.<\/li>\n<li><code> Number.EPSILON <\/code> \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u043d\u0430\u0439\u0442\u0438 \u043d\u0435\u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u0447\u0438\u0441\u043b\u0430\u043c\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u0435\u0436\u0434\u0443 <code> 0.1 + 0.2 <\/code> \u0438 <code> 0.3 <\/code>.<\/li>\n<li><code> Number.MAX_SAFE_INTEGER <\/code> \u2013 \u0441\u0430\u043c\u043e\u0435 \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e \u0438 \u0442\u043e\u0447\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043e \u0432 JavaScript.<\/li>\n<li><code> Number.MIN_SAFE_INTEGER <\/code> \u2013 \u0441\u0430\u043c\u043e\u0435 \u043c\u0430\u043b\u043e\u0435 \u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e \u0438 \u0442\u043e\u0447\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043e \u0432 JavaScript.<\/li>\n<li><code> Number.isSafeInteger <\/code> \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442, \u043c\u043e\u0436\u0435\u0442 \u043b\u0438 \u0447\u0438\u0441\u043b\u043e \u0431\u044b\u0442\u044c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e \u0438 \u0442\u043e\u0447\u043d\u043e.<\/li>\n<li>\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 <a href=\"https:\/\/ponyfoo.com\/articles\/es6-number-improvements-in-depth\">ES6 Number Improvements in Depth.<\/a><\/li>\n<\/ul>\n<p>  <b><code> Math <\/code><\/b><\/p>\n<ul>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-math-additions-in-depth#mathsign\"><code> Math.sign <\/code><\/a> \u2013 \u0437\u043d\u0430\u043a \u0447\u0438\u0441\u043b\u0430.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-math-additions-in-depth#mathtrunc\"><code> Math.trunc <\/code><\/a> \u2013 \u0446\u0435\u043b\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0447\u0438\u0441\u043b\u0430.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-math-additions-in-depth#mathcbrt\"><code> Math.cbrt <\/code><\/a> \u2013 \u043a\u0443\u0431\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043a\u043e\u0440\u0435\u043d\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f <code> \u221b\u203evalue <\/code>.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-math-additions-in-depth#mathexpm1\"><code> Math.expm1 <\/code><\/a> \u2013 \u044d\u043a\u0441\u043f\u043e\u043d\u0435\u043d\u0442\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u2014 <code> 1 <\/code>, \u0438\u043b\u0438 e<sup>value<\/sup> \u2013 1.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-math-additions-in-depth#mathlog1p\"><code> Math.log1p <\/code><\/a> \u2013 \u043d\u0430\u0442\u0443\u0440\u0430\u043b\u044c\u043d\u044b\u0439 \u043b\u043e\u0433\u0430\u0440\u0438\u0444\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f <code> + 1, <\/code> \u0438\u043b\u0438 <code> ln(value + 1) <\/code>.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-math-additions-in-depth#mathlog10\"><code> Math.log10 <\/code><\/a> \u2013 \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u044b\u0439 \u043b\u043e\u0433\u0430\u0440\u0438\u0444\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0438\u043b\u0438 <code> &lt;sub&gt;log10&lt;\/sub&gt; (value) <\/code>.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-math-additions-in-depth#mathlog2\"><code> Math.log2 <\/code><\/a> \u2013 \u0434\u0432\u043e\u0438\u0447\u043d\u044b\u0439 \u043b\u043e\u0433\u0430\u0440\u0438\u0444\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0438\u043b\u0438 <code> &lt;sub&gt;log2&lt;\/sub&gt; (value) <\/code><\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-math-additions-in-depth#mathsinh\"><code> Math.sinh <\/code><\/a> \u2013 \u0433\u0438\u043f\u0435\u0440\u0431\u043e\u043b\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0441\u0438\u043d\u0443\u0441 \u0447\u0438\u0441\u043b\u0430.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-math-additions-in-depth#mathcosh\"><code> Math.cosh <\/code><\/a> \u2013 \u0433\u0438\u043f\u0435\u0440\u0431\u043e\u043b\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043a\u043e\u0441\u0438\u043d\u0443\u0441 \u0447\u0438\u0441\u043b\u0430.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-math-additions-in-depth#mathtanh\"><code> Math.tanh <\/code><\/a> \u2013 \u0433\u0438\u043f\u0435\u0440\u0431\u043e\u043b\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0442\u0430\u043d\u0433\u0435\u043d\u0441 \u0447\u0438\u0441\u043b\u0430.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-math-additions-in-depth#mathasinh\"><code> Math.asinh <\/code><\/a> \u2013 \u0433\u0438\u043f\u0435\u0440\u0431\u043e\u043b\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0430\u0440\u043a\u0441\u0438\u043d\u0443\u0441 \u0447\u0438\u0441\u043b\u0430.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-math-additions-in-depth#mathacosh\"><code> Math.acosh <\/code><\/a> \u2013 \u0433\u0438\u043f\u0435\u0440\u0431\u043e\u043b\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0430\u0440\u043a\u043a\u043e\u0441\u0438\u043d\u0443\u0441 \u0447\u0438\u0441\u043b\u0430.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-math-additions-in-depth#mathatanh\"><code> Math.atanh <\/code><\/a> \u2013 \u0433\u0438\u043f\u0435\u0440\u0431\u043e\u043b\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0430\u0440\u043a\u0442\u0430\u043d\u0433\u0435\u043d\u0441 \u0447\u0438\u0441\u043b\u0430.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-math-additions-in-depth#mathhypot\"><code> Math.hypot <\/code><\/a> \u2013 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u044b\u0439 \u043a\u043e\u0440\u0435\u043d\u044c \u0441\u0443\u043c\u043c\u044b \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043e\u0432.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-math-additions-in-depth#mathclz32\"><code> Math.clz32 <\/code><\/a> \u2013 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u0435\u0434\u0443\u0449\u0438\u0445 \u043d\u0443\u043b\u0435\u0432\u044b\u0445 \u0431\u0438\u0442\u043e\u0432 \u0432 32-\u0431\u0438\u0442\u043d\u043e\u043c \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u0447\u0438\u0441\u043b\u0430.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-math-additions-in-depth#mathimul\"><code> Math.imul <\/code> <\/a>\u2013 C-like 32-\u0431\u0438\u0442\u043d\u043e\u0435 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0435.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-math-additions-in-depth#mathfround\"><code> Math.fround <\/code> <\/a>\u2013 \u043e\u043a\u0440\u0443\u0433\u043b\u0435\u043d\u0438\u0435 \u0447\u0438\u0441\u043b\u0430 \u0434\u043e \u043e\u0434\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u043a\u0430 \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u044f\u0442\u043e\u0439.<\/li>\n<li>\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 <a href=\"https:\/\/ponyfoo.com\/articles\/es6-math-additions-in-depth\">ES6 Math Additions in Depth.<\/a><\/li>\n<\/ul>\n<p>  <b><code> Array <\/code><\/b><\/p>\n<ul>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-array-extensions-in-depth#arrayfrom\"><code> Array.from <\/code><\/a> \u2013 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0438\u0437 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0432\u0440\u043e\u0434\u0435 <code> arguments <\/code> \u0438\u043b\u0438 iterables.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-array-extensions-in-depth#arrayof\"><code> Array.of  <\/code><\/a>\u2013 \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 <code> new Array(...items) <\/code>, \u043d\u043e \u0431\u0435\u0437 \u0447\u0430\u0441\u0442\u043d\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u0435\u0432.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-array-extensions-in-depth#arrayprototypecopywithin\"><code> Array.prototype.copyWithin <\/code><\/a> \u2013 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0432 \u0434\u0440\u0443\u0433\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0432 \u044d\u0442\u043e\u043c \u0436\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u0435.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-array-extensions-in-depth#arrayprototypefill\"><code> Array.prototype.fill  <\/code><\/a>\u2013 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0432\u0441\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u044b\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-array-extensions-in-depth#arrayprototypefind\"><code> Array.prototype.find <\/code><\/a> \u2013 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043f\u0435\u0440\u0432\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u044f\u044e\u0449\u0435\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-array-extensions-in-depth#arrayprototypefindindex\"><code> Array.prototype.findIndex <\/code> <\/a>\u2013 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0438\u043d\u0434\u0435\u043a\u0441 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u044f\u044e\u0449\u0435\u0433\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u0435.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-array-extensions-in-depth#arrayprototypekeys\"><code> Array.prototype.keys <\/code><\/a> \u2013 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0438\u0442\u0435\u0440\u0430\u0442\u043e\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0434\u0430\u0435\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0443\u044e \u043a\u043b\u044e\u0447\u0438 \u043c\u0430\u0441\u0441\u0438\u0432\u0430.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-array-extensions-in-depth#arrayprototypevalues\"><code> Array.prototype.values <\/code><\/a> \u2013 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0438\u0442\u0435\u0440\u0430\u0442\u043e\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0434\u0430\u0435\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0443\u044e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u0430.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-array-extensions-in-depth#arrayprototypeentries\"><code> Array.prototype.entries <\/code><\/a> \u2013 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0438\u0442\u0435\u0440\u0430\u0442\u043e\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0434\u0430\u0435\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0443\u044e \u043f\u0430\u0440\u044b \u00ab\u043a\u043b\u044e\u0447\u2013\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u00bb \u043c\u0430\u0441\u0441\u0438\u0432\u0430.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-array-extensions-in-depth#arrayprototype-symboliterator\"><code> Array.prototype[Symbol.iterator] <\/code><\/a> \u2013 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0442\u043e \u0436\u0435, \u0447\u0442\u043e \u0438 \u043c\u0435\u0442\u043e\u0434 <code> &lt;a href=&quot;https:\/\/ponyfoo.com\/articles\/es6-array-extensions-in-depth#arrayprototypevalues&quot;&gt;Array.prototype.values&lt;\/a&gt; <\/code>.<\/li>\n<li>\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 <a href=\"https:\/\/ponyfoo.com\/articles\/es6-array-extensions-in-depth\">ES6 Array Extensions in Depth.<\/a><\/li>\n<\/ul>\n<p>  <b><code> Object <\/code><\/b><\/p>\n<ul>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-object-changes-in-depth#objectassign\"><code> Object.assign <\/code><\/a> \u2013 \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u044c \u043c\u0435\u043b\u043a\u0438\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u0438\u0437 <code> target, ...objects. <\/code><\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-object-changes-in-depth#objectis\"><code> Object.is <\/code><\/a> \u2013 \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430<code>  === <\/code>, \u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 <code> true <\/code> \u0434\u043b\u044f \u043f\u0430\u0440<code>  NaN === NaN <\/code> \u0438 <code> +0 === -0 <\/code>.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-object-changes-in-depth#objectgetownpropertysymbols\"><code> Object.getOwnPropertySymbols <\/code><\/a> \u2013 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0432\u0441\u0435 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u043e\u0431\u044a\u0435\u043a\u0442\u0430.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-object-changes-in-depth#objectsetprototypeof\"><code> Object.setPrototypeOf <\/code> <\/a>\u2013 \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f. \u042d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u0435\u043d \u0441\u0435\u0442\u0442\u0435\u0440\u0443 <code> target.__proto__ <\/code> .<\/li>\n<li>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0442\u0430\u043a\u0436\u0435 \u0440\u0430\u0437\u0434\u0435\u043b <a href=\"https:\/\/ponyfoo.com\/articles\/es6#object-literals\">\u00ab\u041b\u0438\u0442\u0435\u0440\u0430\u043b\u044b \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432\u00bb.<\/a><\/li>\n<li>\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 <a href=\"https:\/\/ponyfoo.com\/articles\/es6-object-changes-in-depth\">ES6 <code> Object <\/code> Changes in Depth.<\/a><\/li>\n<\/ul>\n<p>  <b>\u0421\u0442\u0440\u043e\u043a\u0438 \u0438 Unicode<\/b><\/p>\n<ul>\n<li>\u041e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0441\u043e \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438:<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-strings-and-unicode-in-depth#stringprototypestartswith\"><code> String.prototype.startsWith <\/code><\/a> \u2013 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442, \u0447\u0442\u043e \u0441\u0442\u0440\u043e\u043a\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f;<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-strings-and-unicode-in-depth#stringprototypeendswith\"><code> String.prototype.endsWith <\/code><\/a> \u2013 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442, \u0447\u0442\u043e \u0441\u0442\u0440\u043e\u043a\u0430 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c;<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-strings-and-unicode-in-depth#stringprototypeincludes\"><code> String.prototype.includes <\/code><\/a> \u2013 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442, \u0447\u0442\u043e \u0441\u0442\u0440\u043e\u043a\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435;<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-strings-and-unicode-in-depth#stringprototyperepeat\"><code> String.prototype.repeat <\/code> <\/a>\u2013 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0443, \u043f\u043e\u0432\u0442\u043e\u0440\u0435\u043d\u043d\u0443\u044e \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0437;<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-strings-and-unicode-in-depth#stringprototyperepeat\"><code> String.prototype[Symbol.iterator] <\/code><\/a> \u2013 \u0434\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0442\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u044e\u043d\u0438\u043a\u043e\u0434\u0430 (\u043d\u0435 \u0441\u0430\u043c\u0438\u043c \u0441\u0438\u043c\u0432\u043e\u043b\u0430\u043c).<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-strings-and-unicode-in-depth#unicode\">Unicode<\/a><\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-strings-and-unicode-in-depth#stringprototypecodepointat\"><code> String.prototype.codePointAt <\/code><\/a> \u2013 \u043d\u043e\u043c\u0435\u0440 \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u044e\u043d\u0438\u043a\u043e\u0434\u0430 \u0432 \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0434\u043b\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0441\u0442\u0440\u043e\u043a\u0438, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0438\u043d\u0434\u0435\u043a\u0441\u0430;<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-strings-and-unicode-in-depth#stringfromcodepoint%60\"><code> String.fromCodePoint <\/code><\/a> \u2013 \u0434\u0430\u043d\u043e <code> ...codepoints <\/code>, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0443 \u0438\u0437 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 unicode;<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-strings-and-unicode-in-depth#stringprototypenormalize\"><code> String.prototype.normalize <\/code><\/a> \u2013 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043d\u043e\u0440\u043c\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0442\u0440\u043e\u043a\u0438 \u0432 unicode.<\/li>\n<li>\u25cf\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 <a href=\"https:\/\/ponyfoo.com\/articles\/es6-strings-and-unicode-in-depth\">ES6 Strings and Unicode Additions in Depth<\/a>.<\/li>\n<\/ul>\n<p>  <b>\u041c\u043e\u0434\u0443\u043b\u0438<\/b><\/p>\n<ul>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-modules-in-depth#strict-mode\">\u0421\u0442\u0440\u043e\u0433\u0438\u0439 \u0440\u0435\u0436\u0438\u043c <\/a>\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432\u043a\u043b\u044e\u0447\u0435\u043d \u0432 \u043c\u043e\u0434\u0443\u043b\u044c\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 ES6.<\/li>\n<li>\u041c\u043e\u0434\u0443\u043b\u0438 ES6 \u2013 \u044d\u0442\u043e \u0444\u0430\u0439\u043b\u044b, <a href=\"https:\/\/ponyfoo.com\/articles\/es6-modules-in-depth#export\">\u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u0435<\/a> API.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-modules-in-depth#exporting-a-default-binding\"><code> export default value <\/code><\/a> \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u043a\u043e\u0434 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-modules-in-depth#named-exports\"><code> export var foo = 'bar' <\/code><\/a> \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u0434.<\/li>\n<li>\u0418\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u044b \u2013 \u044d\u0442\u043e \u0441\u0432\u044f\u0437\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 <a href=\"https:\/\/ponyfoo.com\/articles\/es6-modules-in-depth#bindings-not-values\">\u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u044b<\/a> \u0432 \u043b\u044e\u0431\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0438\u0437 \u043c\u043e\u0434\u0443\u043b\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0445 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442.<\/li>\n<li><code> export { foo, bar } <\/code> \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u043e\u0432.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-modules-in-depth#importing-default-exports\"><code> export { foo as ponyfoo } <\/code><\/a> \u0434\u0430\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0443 \u043f\u043e \u043f\u0441\u0435\u0432\u0434\u043e\u043d\u0438\u043c\u0443 <code> ponyfoo <\/code>.<\/li>\n<li><code> export { foo as default } <\/code> \u043f\u043e\u043c\u0435\u0447\u0430\u0435\u0442 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u044d\u043a\u0441\u043f\u043e\u0440\u0442 \u043a\u0430\u043a \u044d\u043a\u0441\u043f\u043e\u0440\u0442 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-modules-in-depth#best-practices-and-export\">\u0415\u0441\u0442\u044c \u0445\u043e\u0440\u043e\u0448\u0438\u0439 \u0441\u043f\u043e\u0441\u043e\u0431<\/a> \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043f\u0443\u0442\u0430\u043d\u0438\u0446\u044b: \u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u043a\u043e\u043d\u0446\u0435 \u0432\u0441\u0435\u0445 \u0441\u0432\u043e\u0438\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 <code> export default api <\/code>, \u0433\u0434\u0435 <code> api <\/code> \u2013 \u044d\u0442\u043e \u043e\u0431\u044a\u0435\u043a\u0442.<\/li>\n<li>\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0438\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0441 CommonJS.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-modules-in-depth#import\"><code> import 'foo' <\/code><\/a> \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u043c\u043e\u0434\u0443\u043b\u044c <code> foo <\/code> \u0432 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u0434\u0443\u043b\u044c.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-modules-in-depth#importing-default-exports\"><code> import foo from 'ponyfoo' <\/code><\/a> \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u0442 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439<code>  foo <\/code> \u044d\u043a\u0441\u043f\u043e\u0440\u0442 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e <code> ponyfoo <\/code>.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-modules-in-depth#importing-named-exports\"><code> import {foo, bar} from 'baz' <\/code><\/a> \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u044b <code> foo <\/code> \u0438<code>  bar <\/code> \u0438\u0437 \u043c\u043e\u0434\u0443\u043b\u044f <code> baz <\/code>.<\/li>\n<li><code> import {foo as bar} from 'baz' <\/code> \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u044d\u043a\u0441\u043f\u043e\u0440\u0442 <code> foo <\/code>, \u043d\u043e \u043d\u0430\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u043f\u0441\u0435\u0432\u0434\u043e\u043d\u0438\u043c <code> bar <\/code>.<\/li>\n<li><code> import {default} from 'foo'  <\/code>\u0442\u0430\u043a\u0436\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u044d\u043a\u0441\u043f\u043e\u0440\u0442 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.<\/li>\n<li><code> import {default as bar} from 'foo' <\/code> \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u044d\u043a\u0441\u043f\u043e\u0440\u0442 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0441 \u043f\u0441\u0435\u0432\u0434\u043e\u043d\u0438\u043c\u043e\u043c <code> bar <\/code>.<\/li>\n<li><code> import foo, {bar, baz} from 'foo' <\/code> \u0441\u043c\u0435\u0448\u0438\u0432\u0430\u0435\u0442 \u044d\u043a\u0441\u043f\u043e\u0440\u0442 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e <code> foo <\/code> \u0441 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u043c\u0438 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430\u043c\u0438 <code> bar <\/code> \u0438 <code> baz <\/code> \u0432 \u043e\u0434\u043d\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438.<\/li>\n<li><a href=\"https:\/\/ponyfoo.com\/articles\/es6-modules-in-depth#import-all-the-things\"><code> import * as foo from 'foo' <\/code><\/a> \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430 \u0438\u043c\u0451\u043d:<\/li>\n<li>\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432\u0441\u0435 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u044b \u0432 <code> foo[name] <\/code>;<\/li>\n<li>\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u044d\u043a\u0441\u043f\u043e\u0440\u0442 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432 <code> foo.default <\/code>, \u0435\u0441\u043b\u0438 \u0442\u0430\u043a\u043e\u0432\u043e\u0439 \u0431\u044b\u043b \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d \u0432 \u043c\u043e\u0434\u0443\u043b\u0435.<\/li>\n<li>\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 <a href=\"https:\/\/ponyfoo.com\/articles\/es6-modules-in-depth\">ES6 Modules Additions in Depth.<\/a><\/li>\n<\/ul>\n<p>  \u041f\u043e\u0440\u0430 \u043e\u0442\u0434\u043e\u0445\u043d\u0443\u0442\u044c \u043e\u0442 \u043c\u0430\u0440\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0441\u043f\u0438\u0441\u043a\u043e\u0432! \u042f \u0432\u0430\u0441 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0430\u043b, \u0447\u0442\u043e \u043b\u0443\u0447\u0448\u0435 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0441\u0435\u0440\u0438\u044e \u0441\u0442\u0430\u0442\u0435\u0439 \u0446\u0435\u043b\u0438\u043a\u043e\u043c. \u041a\u0441\u0442\u0430\u0442\u0438, \u0432\u044b \u0443\u0436\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b\u0438 <a href=\"https:\/\/en.wikipedia.org\/wiki\/Konami_Code\">konami code?<\/a>       <\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/270697\/\"> http:\/\/habrahabr.ru\/post\/270697\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       \u041c\u043e\u044f \u0441\u0435\u0440\u0438\u044f \u0437\u0430\u043c\u0435\u0442\u043e\u043a <a href=\"https:\/\/ponyfoo.com\/articles\/tagged\/es6-in-depth\">ES6 in Depth<\/a>, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0430\u044f \u0438\u0437 24 \u0437\u0430\u043f\u0438\u0441\u0435\u0439, \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0438 \u043d\u043e\u0432\u043e\u0432\u0432\u0435\u0434\u0435\u043d\u0438\u0439 \u0432 ES6. \u0412 \u044d\u0442\u043e\u0439 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u044f \u043f\u043e\u0434\u0432\u0435\u0434\u0443 \u0438\u0442\u043e\u0433 \u0432\u0441\u0435\u0433\u043e \u0438\u0437\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0433\u043e \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u0441\u0442\u0430\u0442\u044c\u044f\u0445, \u0447\u0442\u043e\u0431\u044b \u0434\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0435\u0449\u0435 \u0440\u0430\u0437 \u043d\u0430 \u0432\u0441\u0451 \u0432\u043c\u0435\u0441\u0442\u0435.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/0ea\/9a3\/48f\/0ea9a348fe1645b88bc56e002e9217a0.png\"\/>  <\/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-268115","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/268115","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=268115"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/268115\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=268115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=268115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=268115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}