{"id":198372,"date":"2013-10-21T11:06:03","date_gmt":"2013-10-21T07:06:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=198372"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=198372","title":{"rendered":"<span class=\"post_title\">API \u043a\u043e\u043d\u0441\u043e\u043b\u0438 Javascript<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<nobr><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/ad4\/d6d\/897\/ad4d6d8972b6488825f13ddf94815fe7.png\" align=\"right\"\/><\/nobr>\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c \u0443\u0434\u043e\u0431\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u044e \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438, \u043d\u043e \u0435\u0449\u0451 \u0443\u0434\u043e\u0431\u043d\u0435\u0435, \u0435\u0441\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0443\u0447\u0442\u0435\u043d\u044b \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0442\u0435\u043c\u0430 \u043e\u0431\u0451\u0440\u0442\u043e\u043a \u0434\u043b\u044f \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.<\/p>\n<p>  \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0440\u0430\u043d\u0435\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u0437\u0430\u0442\u0435\u043c \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u043e\u0431\u0437\u043e\u0440 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430 \u043d\u0435\u0434\u0430\u0432\u043d\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 Axel Rauschmayer-\u0430, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u0438 \u043a\u043e\u043d\u0441\u0443\u043b\u044c\u0442\u0430\u043d\u0442\u0430 \u0441 \u0431\u043e\u043b\u0435\u0435 \u0447\u0435\u043c 15-\u043b\u0435\u0442\u043d\u0438\u043c \u0441\u0442\u0430\u0436\u0435\u043c, \u0437\u0430\u0442\u0435\u043c \u044f \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u0443\u044e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0432\u043e\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0443\u0434\u0430\u0447\u043d\u044b\u043c\u0438 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u0438 \u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u043d\u0430 \u0440\u044f\u0434\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h3>\u041e\u0431\u0451\u0440\u0442\u043a\u0438 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u043d\u0430 \u0425\u0430\u0431\u0440\u0435, \u043e\u0431\u0437\u043e\u0440\u044b \u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/h3>\n<p>  \u26ab &quot;<a href=\"http:\/\/habrahabr.ru\/post\/114483\/\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c console \u00ab\u043d\u0430 \u043f\u043e\u043b\u043d\u0443\u044e\u00bb<\/a>&quot; \u2014 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u043e\u0442\u043b\u0438\u0447\u043d\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u0443\u0447\u0451\u0442 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0435\u0439 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432 \u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438.<\/p>\n<p>  <a href=\"http:\/\/habrahabr.ru\/post\/116852\/\">\u0414\u0435\u043b\u0430\u0435\u043c \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0447\u0443\u0442\u043e\u0447\u043a\u0443 \u0443\u0434\u043e\u0431\u043d\u0435\u0435<\/a> \u2014 \u041f\u043e\u0434\u043c\u0435\u043d\u044f\u0435\u0442 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442, \u0447\u0442\u043e \u0440\u0435\u0448\u0430\u0435\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0430\u0433\u0438. \u041e\u0442\u043b\u0438\u0447\u043d\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0434\u0435\u0433\u0440\u0430\u0434\u0430\u0446\u0438\u044e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432 \u043f\u043e \u043f\u043e\u043b\u043d\u043e\u0442\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u043c\u0435\u0442\u043e\u0434\u043e\u0432. \u041e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0440\u0430\u0437\u0432\u0435 \u0447\u0442\u043e \u0434\u043b\u0438\u043d\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u043f\u043b\u044e\u0441 \u0432 \u043f\u043b\u0430\u043d\u0435 \u043d\u0435\u0438\u0437\u0443\u0447\u0435\u043d\u0438\u044f \u043d\u043e\u0432\u044b\u0445 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0439, \u043d\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043d\u0430\u0431\u043e\u0440\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u043b\u043e\u0432. \u041c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0440\u0435\u0448\u0435\u043d\u043e \u0443\u0441\u043a\u043e\u0440\u0438\u0442\u0435\u043b\u044f\u043c\u0438 \u043d\u0430\u0431\u043e\u0440\u0430 \u0442\u0438\u043f\u0430 emmet \u0432 IDE.<\/p>\n<p>  \u26ab <a href=\"http:\/\/benalman.com\/code\/projects\/javascript-debug\/docs\/files\/ba-debug-js.html\">simple wrapper for console.log<\/a> \u2014 2010 (\u0430\u043d\u0433\u043b.).<br \/>  \u26ab <a href=\"http:\/\/blogs.msdn.com\/b\/cdndevs\/archive\/2011\/05\/26\/console-log-say-goodbye-to-javascript-alerts-for-debugging.aspx\">Console.Log: Say Goodbye to JavaScript Alerts for Debugging!<\/a> (IE), 2011 (\u0430\u043d\u0433\u043b.)<br \/>  00<br \/>  \u26ab &quot;<a href=\"http:\/\/habrahabr.ru\/post\/188066\/\">Firebug* console API<\/a>&quot; \u2014 \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u0432 \u0447\u0451\u043c-\u0442\u043e \u043f\u043e\u043b\u043d\u0435\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430. \u041e\u0431\u0435 \u043e\u043d\u0438 \u0434\u0430\u0434\u0443\u0442 \u0432\u0437\u0430\u0438\u043c\u043d\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e. <i>(\u0412\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0440\u0443\u0447\u043d\u0443\u044e, \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u044f \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u043d\u043d\u0443\u044e \u0430\u0432\u0442\u043e\u0440\u043e\u043c \u0440\u0430\u0431\u043e\u0442\u0443.)<\/i><\/p>\n<h3>\u26ab <i><font color=\"#0066cc\">\u041f\u0435\u0440\u0435\u0432\u043e\u0434 <a href=\"http:\/\/www.2ality.com\/2013\/10\/console-api.html\">\u043e\u0431\u0437\u043e\u0440\u0430 \u0438\u0437 \u0431\u043b\u043e\u0433\u0430<\/a> Axel Rauschmayer<\/font><\/i><\/h3>\n<p>  <i><a href=\"#summary\">\u0418\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0441 \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u043e\u0439 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u043f\u043e \u0430\u043b\u0444\u0430\u0432\u0438\u0442\u0443<\/a><\/i>.<br \/>  <nobr><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/ec9\/f1e\/6dd\/ec9f1e6dd5afb8bf4fbab9be2fa58236.png\" align=\"right\"\/><\/nobr>\u0412 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 console \u0441 \u043c\u0435\u0442\u043e\u0434\u0430\u043c\u0438 \u0434\u043b\u044f \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0438. \u041e\u043d \u2014 \u043d\u0435 \u0447\u0430\u0441\u0442\u044c \u044f\u0437\u044b\u043a\u0430, \u043d\u043e \u0441\u0442\u0430\u043b \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043e\u043c, \u043f\u043e\u044f\u0432\u0438\u0432\u0448\u0438\u0441\u044c \u0432\u043d\u0430\u0447\u0430\u043b\u0435 \u0432 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u0435 Firebug. \u0422\u0430\u043a \u043a\u0430\u043a \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0446\u0435\u043b\u044c \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u2014 \u043e\u0442\u043b\u0430\u0434\u043a\u0430, \u043e\u043d \u0447\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0438 \u0440\u0435\u0434\u043a\u043e \u2014 \u0432 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0435\u043c \u043a\u043e\u0434\u0435.<\/p>\n<h3>\u041a\u0430\u043a \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445?<\/h3>\n<p>  Firebug \u043f\u0435\u0440\u0432\u044b\u043c \u043d\u0430\u0447\u0430\u043b \u043f\u0440\u043e\u0434\u0432\u0438\u0433\u0430\u0442\u044c API \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0438 \u0435\u0433\u043e <a href=\"https:\/\/getfirebug.com\/wiki\/index.php\/Console_API\">\u0432\u0438\u043a\u0438-\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e<\/a>, \u0443\u0441\u043f\u0435\u0448\u043d\u0435\u0435 \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u0440\u0438\u0431\u043b\u0438\u0436\u0430\u044f\u0441\u044c \u043a \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0438\u0437\u0430\u0446\u0438\u0438. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, Brian Kardell \u0438 Paul Irish \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u043d\u0430\u0434 <a href=\"https:\/\/github.com\/DeveloperToolsWG\/console-object\">\u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0435\u0439<\/a> API, \u0447\u0442\u043e \u0432 \u043f\u0435\u0440\u0441\u043f\u0435\u043a\u0442\u0438\u0432\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0434\u0430\u0442\u044c \u043b\u0443\u0447\u0448\u0443\u044e \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432. \u0414\u041e \u0441\u0438\u0445 \u043f\u043e\u0440 \u0438\u0445 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u0434\u0430\u0441\u0442 \u043e\u0431\u0449\u0435\u0435 \u043a\u0440\u0430\u0442\u043a\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043a \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u043c.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/3d7\/e4d\/9bc\/3d7e4d9bc2073de27509d28332e3514b.png\"\/> Chrome: <a href=\"https:\/\/developers.google.com\/chrome-developer-tools\/docs\/console-api\/\">developers.google.com\/chrome-developer-tools\/docs\/console-api\/<\/a><br \/>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/1c4\/f1f\/80e\/1c4f1f80e15f1c7e80bac85502d49c05.png\"\/> Firebug: <a href=\"https:\/\/getfirebug.com\/wiki\/index.php\/Console_API\">getfirebug.com\/wiki\/index.php\/Console_API<\/a><br \/>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/2f9\/9c7\/b64\/2f99c7b644597b049351bd3cb42c5b4e.png\"\/> Firefox: <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/console\">developer.mozilla.org\/en-US\/docs\/Web\/API\/console<\/a><br \/>  <img decoding=\"async\" src=\"http:\/\/www.noonnoo.com\/downloads\/browsers\/ie7(16x16).png\"\/> IExplorer: <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ie\/hh772183.aspx\">msdn.microsoft.com\/en-us\/library\/ie\/hh772183.aspx<\/a><br \/>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/ca9\/330\/c3a\/ca9330c3aafda6e333e55e04a7de2569.png\"\/> Node.js: <a href=\"http:\/\/nodejs.org\/api\/stdio.html\">nodejs.org\/api\/stdio.html<\/a><br \/>  <img decoding=\"async\" src=\"http:\/\/www.noonnoo.com\/downloads\/browsers\/safari(16x16).png\"\/> Safari: <a href=\"https:\/\/developer.apple.com\/library\/safari\/documentation\/AppleApplications\/Conceptual\/Safari_Developer_Guide\/Console\/Console.html\">Safari Developer Guide<\/a><\/p>\n<p>  <b>\u0411\u0430\u0433 \u0432 IE9<\/b>: \u043e\u0431\u044a\u0435\u043a\u0442 console \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442, \u0435\u0441\u043b\u0438 \u0445\u043e\u0442\u044f \u0431\u044b \u0440\u0430\u0437 \u0431\u044b\u043b\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u043e \u043e\u043a\u043d\u043e \u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 (Developer Tools? F12). \u0418\u043d\u0430\u0447\u0435 \u2014 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043e\u0448\u0438\u0431\u043a\u0430 ReferenceError. \u041a\u0430\u043a \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043e\u0431\u0445\u043e\u0434\u0430 \u0431\u0430\u0433\u0430, \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0438 \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u0433\u043b\u0443\u0448\u043a\u0443 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u044f.<\/p>\n<h3>\u041c\u0435\u0442\u043e\u0434\u044b \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/h3>\n<p>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>clear<\/b><\/font>() \u2014 \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u043a\u043e\u043d\u0441\u043e\u043b\u044c;<br \/>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>debug<\/b><\/font>(object1, object2<font color=\"#cc6666\"><b>?<\/b><\/font>, &#8230;) \u2014 \u0442\u043e \u0436\u0435, \u0447\u0442\u043e <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>log<\/b><\/font>() <i>(\u0432\u043e\u043f\u0440\u043e\u0441\u0438\u043a\u0438 \u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0442 \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430)<\/i>;<br \/>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>error<\/b><\/font>(object1, object2?, &#8230;) \u2014 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043f\u043e\u0434 \u0437\u043d\u0430\u0447\u043a\u043e\u043c \u043e\u0448\u0438\u0431\u043a\u0438 (\u0431\u0435\u0437 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043a\u043e\u0434\u0430) \u0438, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0430 \u0441\u0442\u0435\u043a\u0430 \u0432\u044b\u0437\u043e\u0432\u043e\u0432 \u0438 \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043a\u043e\u0434.<br \/>  &nbsp; \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>exception<\/b><\/font>(errorObject, object1?, &#8230;]) [\u0442\u043e\u043b\u044c\u043a\u043e \u0432 Firebug] \u2014 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0441 \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u043c \u0441\u0442\u0435\u043a\u043e\u043c \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0438;<br \/>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>info<\/b><\/font>(object1?, object2?, &#8230;) \u2014 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c; \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043c\u0435\u0447\u0430\u0442\u044c\u0441\u044f \u0437\u043d\u0430\u0447\u043a\u043e\u043c \u0438, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0438\u043c\u0435\u0435\u0442 \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0443 \u0441\u0442\u0435\u043a\u0430 \u0438\u043b\u0438 \u0441\u0441\u044b\u043b\u043a\u0443; \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u044b <a href=\"http:\/\/ru.wikipedia.org\/wiki\/Printf\">printf<\/a>, \u043a\u0430\u043a \u0432 console.log.<br \/>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>log<\/b><\/font>(object1?, object2?, &#8230;) \u2014 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c. \u0415\u0441\u043b\u0438 \u043f\u0435\u0440\u0432\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u2014 \u0441\u0442\u0440\u043e\u043a\u0430 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432 <a href=\"http:\/\/ru.wikipedia.org\/wiki\/Printf\">printf<\/a>, \u043e\u043d\u0430 \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u0443\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432. \u041f\u0440\u0438\u043c\u0435\u0440 (Node.js REPL):  <\/p>\n<pre><code class=\"javascript\">    &gt; console.log('%s', { foo: 'bar' })     [object Object]     &gt; console.log('%j', { foo: 'bar' })     {&quot;foo&quot;:&quot;bar&quot;} <\/code><\/pre>\n<p>  \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u043d\u0430\u0434\u0451\u0436\u043d\u0430\u044f \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u0430\u044f \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0430 \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u2014 \u044d\u0442\u043e &#8216;%s&#8217;. Node.js \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 &#8216;%j&#8217; \u0434\u043b\u044f JSON-\u0434\u0430\u043d\u043d\u044b\u0445. \u0411\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u044b \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0434\u043b\u044f \u043a\u043e\u043d\u0441\u043e\u043b\u0438 <i>(\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 <a href=\"http:\/\/habrahabr.ru\/post\/188066\/#patterns\">\u0437\u0434\u0435\u0441\u044c<\/a> (\u0440\u0443\u0441.))<\/i>.<\/p>\n<p>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>trace<\/b><\/font>() \u2014 \u043f\u043e\u043a\u0430\u0437 \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0441\u0442\u0435\u043a\u0430 \u0432\u044b\u0437\u043e\u0432\u043e\u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445 (\u0441\u0442\u0435\u043a \u0432\u044b\u0437\u043e\u0432\u043e\u0432, \u043f\u0440\u0438\u0432\u0435\u0434\u0448\u0438\u0439 \u043a \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044e \u043a\u043e\u0434\u0430 \u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u0435, \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u0432\u0438\u0434\u0438\u043c \u0432 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u0445 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0430\u0445);<br \/>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>warn<\/b><\/font>(object1?, object2?, &#8230;) \u2014 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0434 \u0437\u043d\u0430\u0447\u043a\u043e\u043c \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f; \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0443 \u0441\u0442\u0435\u043a\u0430 \u0438\u043b\u0438 \u0441\u0441\u044b\u043b\u043a\u0443. \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u044b <a href=\"http:\/\/ru.wikipedia.org\/wiki\/Printf\">printf<\/a>, \u043a\u0430\u043a \u0432 console.log.<\/p>\n<table>\n<tr>\n<th><\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/3d7\/e4d\/9bc\/3d7e4d9bc2073de27509d28332e3514b.png\"\/> Chrome<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/1c4\/f1f\/80e\/1c4f1f80e15f1c7e80bac85502d49c05.png\"\/> Firebug<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/2f9\/9c7\/b64\/2f99c7b644597b049351bd3cb42c5b4e.png\"\/> Firefox<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/www.noonnoo.com\/downloads\/browsers\/ie7(16x16).png\"\/> IE<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/ca9\/330\/c3a\/ca9330c3aafda6e333e55e04a7de2569.png\"\/> Node.js<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/844\/dec\/8fc\/844dec8fcccb2ecb8c3357e7f76865bd.png\"\/> Safari<\/th>\n<\/tr>\n<tr>\n<td>clear()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td>debug()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td>error()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td>exception()<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<\/tr>\n<tr>\n<td>info()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td>log()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td>trace()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td>warn()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<\/tr>\n<\/table>\n<h3>\u041c\u0435\u0442\u043e\u0434\u044b \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043e\u043a \u0438 \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0430<\/h3>\n<p>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>assert<\/b><\/font>(expr, obj?) \u2014 \u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0432\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u043b\u043e\u0436\u0435\u043d, \u0442\u043e \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0438 \u0432\u044b\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435; \u0435\u0441\u043b\u0438 true \u2014 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0434\u0435\u043b\u0430\u0435\u0442;<br \/>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>count<\/b><\/font>(label?) \u2014 \u043f\u043e\u0434\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u043b\u0430\u0441\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0441 \u044d\u0442\u043e\u0439 \u043c\u0435\u0442\u043a\u043e\u0439.<\/p>\n<table>\n<tr>\n<th><\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/3d7\/e4d\/9bc\/3d7e4d9bc2073de27509d28332e3514b.png\"\/> Chrome<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/1c4\/f1f\/80e\/1c4f1f80e15f1c7e80bac85502d49c05.png\"\/> Firebug<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/2f9\/9c7\/b64\/2f99c7b644597b049351bd3cb42c5b4e.png\"\/> Firefox<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/cd0\/bd1\/d22\/cd0bd1d22d0bbd700c6e18cce350d486.png\"\/> IE<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/ca9\/330\/c3a\/ca9330c3aafda6e333e55e04a7de2569.png\"\/> Node.js<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/844\/dec\/8fc\/844dec8fcccb2ecb8c3357e7f76865bd.png\"\/> Safari<\/th>\n<\/tr>\n<tr>\n<td>assert()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td>count()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<\/tr>\n<\/table>\n<h3>\u041c\u0435\u0442\u043e\u0434\u044b \u0434\u043b\u044f \u043b\u043e\u0433\u043e\u0432 \u0441 \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c<\/h3>\n<p>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>dir<\/b><\/font>(object) \u2014 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438. \u041c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e \u2014 \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f, \u043f\u0440\u043e\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u043a\u043b\u0430\u0434\u043a\u0430\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 (\u0432 Node.js \u2014 \u0431\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438).<br \/>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>dirxml<\/b><\/font>(object) \u2014 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 XML-\u0434\u0435\u0440\u0435\u0432\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 HTML \u0438\u043b\u0438 XML.<br \/>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>group<\/b><\/font>(object1?, object2?, &#8230;) \u2014 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0432\u044b\u0432\u043e\u0434 \u0441\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0435\u0433\u043e \u0433\u0440\u0443\u043f\u043f\u044b \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0445 \u0438 \u0431\u0443\u0434\u0443\u0449\u0438\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 \u043a\u0430\u0436\u0434\u043e\u0439 \u043d\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435. \u0411\u043b\u043e\u043a \u043e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0437\u0430\u0432\u0435\u0440\u0448\u0451\u043d\u043d\u044b\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 console.groupEnd() \u0438 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0437\u0432\u0451\u0440\u043d\u0443\u0442 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430, \u043d\u043e \u043c\u043e\u0436\u0435\u0442 \u0441\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f-\u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u0440\u0443\u0447\u043d\u0443\u044e (\u043c\u044b\u0448\u044c\u044e).<br \/>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>groupCollapsed<\/b><\/font>(object1?, object2?, &#8230;) \u2014 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e console.group(), \u043d\u043e \u0431\u043b\u043e\u043a \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0441\u0432\u0451\u0440\u043d\u0443\u0442.<br \/>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>groupEnd<\/b><\/font>() \u2014 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0433\u0440\u0443\u043f\u043f\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u044b\u043b\u0430 \u043d\u0430\u0447\u0430\u0442\u0430 console.group() \u0438\u043b\u0438 console.groupCollapsed().<br \/>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>table<\/b><\/font>(data, columns?) \u2014 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043c\u0430\u0441\u0441\u0438\u0432 \u043a\u0430\u043a \u0442\u0430\u0431\u043b\u0438\u0446\u0443, \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0443 \u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0443. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u043a\u0430\u043a\u0438\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u0432 \u043a\u043e\u043b\u043e\u043d\u043a\u0430\u0445. \u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u043f\u0443\u0449\u0435\u043d \u2014 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u0432\u0441\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430. \u041d\u0435\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u0432 \u043a\u043e\u043b\u043e\u043d\u043a\u0430\u0445 \u043a\u0430\u043a \u043d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0435.  <\/p>\n<pre><code class=\"javascript\">    var persons = [         { firstName: 'Jane', lastName: 'Bond' },         { firstName: 'Lars', lastName: 'Croft', age: 72 }     ];     \/\/ \u042d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u044b\u0435 \u0437\u0430\u043f\u0438\u0441\u0438:     console.table(persons);     console.table(persons, ['firstName', 'lastName', 'age']); <\/code><\/pre>\n<p>\u0411\u0443\u0434\u0435\u043c \u0432\u0438\u0434\u0435\u0442\u044c \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438:<br \/>  <nobr><\/p>\n<table>\n<tr>\n<th>(index)<\/th>\n<th>firstName<\/th>\n<th>lastName<\/th>\n<th>age<\/th>\n<\/tr>\n<tr>\n<td>0<\/td>\n<td>\u00abJane\u00bb<\/td>\n<td>\u00abBond\u00bb<\/td>\n<td>undefined<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>\u00abLars\u00bb<\/td>\n<td>\u00abCroft\u00bb<\/td>\n<td>72<\/td>\n<\/tr>\n<\/table>\n<p><\/nobr>  <\/p>\n<table>\n<tr>\n<th><\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/3d7\/e4d\/9bc\/3d7e4d9bc2073de27509d28332e3514b.png\"\/> Chrome<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/1c4\/f1f\/80e\/1c4f1f80e15f1c7e80bac85502d49c05.png\"\/> Firebug<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/2f9\/9c7\/b64\/2f99c7b644597b049351bd3cb42c5b4e.png\"\/> Firefox<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/www.noonnoo.com\/downloads\/browsers\/ie7(16x16).png\"\/> IE<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/ca9\/330\/c3a\/ca9330c3aafda6e333e55e04a7de2569.png\"\/> Node.js<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/844\/dec\/8fc\/844dec8fcccb2ecb8c3357e7f76865bd.png\"\/> Safari<\/th>\n<\/tr>\n<tr>\n<td>dir()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td>dirxml()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td>group()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td>groupCollapsed()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td>groupEnd()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td>table()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<\/tr>\n<\/table>\n<h3>\u041f\u0440\u043e\u0444\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0442\u0430\u0439\u043c\u0438\u043d\u0433\u0438<\/h3>\n<p>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>markTimeline<\/b><\/font>(label) \u2014 [Safari-only] \u0442\u043e \u0436\u0435, \u0447\u0442\u043e timeStamp().<br \/>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>profile<\/b><\/font>(title?) \u2014 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0444\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u041d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u043e\u0442\u0447\u0451\u0442\u0435.<br \/>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>profileEnd<\/b><\/font>() \u2014 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u043f\u0440\u043e\u0444\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043e\u0442\u0447\u0451\u0442.<br \/>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>time<\/b><\/font>(label) \u2014 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0442\u0430\u0439\u043c\u0435\u0440 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u043c\u0435\u0442\u043a\u043e\u0439 (\u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c, \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u043e\u043c).<br \/>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>timeEnd<\/b><\/font>(label) \u2014 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0442\u0430\u0439\u043c\u0435\u0440 \u0441 \u043c\u0435\u0442\u043a\u043e\u0439 \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430\u0441\u0447\u0438\u0442\u0430\u043d\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f.<br \/>  \u26ab <font color=\"#3366ff\">console<\/font>.<font color=\"#2255aa\"><b>timeStamp<\/b><\/font>(label?) \u2014 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0435 \u043e\u0442\u0441\u0447\u0451\u0442\u044b \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0434\u043b\u044f \u0442\u0430\u0439\u043c\u0435\u0440\u0430 \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u043c\u0435\u0442\u043a\u043e\u0439.  <\/p>\n<table>\n<tr>\n<th><\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/3d7\/e4d\/9bc\/3d7e4d9bc2073de27509d28332e3514b.png\"\/> Chrome<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/1c4\/f1f\/80e\/1c4f1f80e15f1c7e80bac85502d49c05.png\"\/> Firebug<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/2f9\/9c7\/b64\/2f99c7b644597b049351bd3cb42c5b4e.png\"\/> Firefox<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/www.noonnoo.com\/downloads\/browsers\/ie7(16x16).png\"\/> IE<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/ca9\/330\/c3a\/ca9330c3aafda6e333e55e04a7de2569.png\"\/> Node.js<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/844\/dec\/8fc\/844dec8fcccb2ecb8c3357e7f76865bd.png\"\/> Safari<\/th>\n<\/tr>\n<tr>\n<td>markTimeline()<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td>profile()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>(devtools)<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td>profileEnd()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>(devtools)<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td>time()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td>timeEnd()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td>timeStamp()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<\/tr>\n<\/table>\n<p>  <i>&quot;(devtools)&quot; \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u043c\u0435\u0442\u043e\u0434 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0430 \u043f\u0430\u043d\u0435\u043b\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430.<\/i><\/p>\n<p>  <i>\u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u043d\u043e\u0441\u0442\u0438:<\/i><br \/>  \u0412 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0435 \u044d\u0442\u043e\u0433\u043e \u043e\u0431\u0437\u043e\u0440\u0430 \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u043b\u0438 \u0434\u0432\u0430 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430: Matthias Reuter (@ gweax) \u0438 Philipp Kyeck (@ pkyeck). <br \/>  <font color=\"#0066cc\"><i>&#8212;\u0410\u0432\u0442\u043e\u0440: Axel Rauschmayer. (\u041a\u043e\u043d\u0435\u0446 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430.)<\/i><\/font><\/p>\n<p>  <a name=\"summary\"><\/a>\u0418\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0441 \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u043e\u0439 \u043f\u043e \u0430\u043b\u0444\u0430\u0432\u0438\u0442\u0443. <i>(\u0421\u0441\u044b\u043b\u043a\u0438 \u043f\u043e\u043c\u043e\u0433\u0443\u0442 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0438 \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0435 \u041e\u043f\u0435\u0440\u043e\u0439 \u0432 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435. \u0412 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u043a\u043e\u043b\u043e\u043d\u043a\u0443 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b \u043a\u0440\u0430\u0442\u043a\u0438\u0435 \u0437\u0430\u043c\u0435\u0447\u0430\u043d\u0438\u044f \u043e\u0431 \u041e\u043f\u0435\u0440\u0435 \u043e\u0442\u0442\u0443\u0434\u0430.)<\/i><\/p>\n<table>\n<tr>\n<th><\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/3d7\/e4d\/9bc\/3d7e4d9bc2073de27509d28332e3514b.png\"\/> Chrome<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/1c4\/f1f\/80e\/1c4f1f80e15f1c7e80bac85502d49c05.png\"\/> Firebug<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/2f9\/9c7\/b64\/2f99c7b644597b049351bd3cb42c5b4e.png\"\/> Firefox<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/www.noonnoo.com\/downloads\/browsers\/ie7(16x16).png\"\/> IE<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/ca9\/330\/c3a\/ca9330c3aafda6e333e55e04a7de2569.png\"\/> Node.js<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/844\/dec\/8fc\/844dec8fcccb2ecb8c3357e7f76865bd.png\"\/> Safari<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/404\/e0d\/99d\/404e0d99db9f10d769c503b046c87b02.png\"\/> <abbr title=\"ver. 12.15\">Opera<\/abbr><\/th>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#assert\">assert<\/a>()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><abbr title=\"\u0435\u0441\u043b\u0438 expression == false, \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043a\u0430\u043a console.log\">\u00b1<\/abbr><\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#clear\">clear<\/a>()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#count\">count<\/a>()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<td><abbr title=\"\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442 \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b; \u043d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0441\u0441\u044b\u043b\u043a\u0443\">\u00b1<\/abbr><\/td>\n<\/tr>\n<tr>\n<td><abbr title=\"==.log()\"><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#debug\">debug<\/a>()<\/abbr><\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<td><abbr title=\"\u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b\">\u00b1<\/abbr><\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#dir\">dir<\/a>()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><abbr title=\"\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0431\u043e\u043b\u0435\u0435 1 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430\">\u2713<\/abbr><\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#dirxml\">dirxml<\/a>()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<td><abbr title=\"\u0435\u0441\u043b\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u044b - \u043d\u0435 DOM, \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043d\u0430 \u043d\u0438\u0445 \u0441\u0441\u044b\u043b\u043a\u0443; \u0431\u0430\u0433 \u043f\u0440\u0438 2 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u0445\">\u00b1<\/abbr><\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#error\">error<\/a>()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><abbr title=\"\u043d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 console.trace\">\u00b1<\/abbr><\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#exception\">exception<\/a>()<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><abbr title=\"\u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0443\">\u00b1<\/abbr><\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#group\">group<\/a>()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#group\">groupCollapsed<\/a>()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#group\">groupEnd<\/a>()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#info\">info<\/a>()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#log\">log<\/a>()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><abbr title=\"\u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b\">\u00b1<\/abbr><\/td>\n<\/tr>\n<tr>\n<td><abbr title=\"==.timeStamp()\"><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#time\">markTimeline<\/a>()<\/abbr><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#profile\">profile<\/a>()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><abbr title=\"\u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0430 \u043f\u0430\u043d\u0435\u043b\u044c Dev. Tools\">(devtools)<\/abbr><\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#profile\">profileEnd<\/a>()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><abbr title=\"\u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0430 \u043f\u0430\u043d\u0435\u043b\u044c Dev. Tools\">(devtools)<\/abbr><\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#table\">table<\/a>()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#time\">time<\/a>()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><abbr title=\"\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442 \u0432\u044b\u0437\u043e\u0432\u044b \u0431\u0435\u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432\">\u00b1<\/abbr><\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#time\">timeEnd<\/a>()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><abbr title=\"\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442 \u0432\u044b\u0437\u043e\u0432\u044b \u0431\u0435\u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432\">\u00b1<\/abbr><\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#time\">timeStamp<\/a>()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><abbr title=\"\u0432\u044b\u0431\u0440\u043e\u0441 \u043e\u0448\u0438\u0431\u043a\u0438\"><font color=\"#ff6666\">-\u229d-<\/font><\/abbr><\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#trace\">trace<\/a>()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td><abbr title=\"\u043d\u0430 \u0433\u0440\u0430\u043d\u0438 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0441\u0442\u0438\">\u00b1<\/abbr><\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/habrahabr.ru\/post\/188066\/#warn\">warn<\/a>()<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<td>\u2713<\/td>\n<\/tr>\n<\/table>\n<p>  \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0430\u0432\u0442\u043e\u0440\u0443 \u0431\u043b\u043e\u0433\u0430 \u0437\u0430 \u0441\u0432\u0435\u0436\u0438\u0435 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b, \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u0435\u0441\u044f \u043a \u043c\u0435\u0442\u043e\u0434\u0430\u043c \u043a\u043e\u043d\u0441\u043e\u043b\u0438. \u0417\u0430\u0440\u044f\u0434\u0438\u0432\u0448\u0438\u0441\u044c \u043f\u043e\u043f\u043a\u043e\u0440\u043d\u043e\u043c, \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043c \u0440\u0430\u0437\u0433\u043e\u0432\u043e\u0440. \u0418\u043c\u0435\u0435\u043c \u0432\u0441\u0435 \u043c\u0435\u0442\u043e\u0434\u044b, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f, \u043d\u043e \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0432\u0441\u0435\u0445. \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0438\u043d\u043e\u0433\u0434\u0430 \u043e\u0434\u043d\u043e\u0433\u043e, \u043d\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0433\u043e console.log. \u0415\u0441\u0442\u044c \u043d\u0438\u0448\u0438 \u0437\u0430\u0434\u0430\u0447, \u0433\u0434\u0435 \u043d\u0443\u0436\u043d\u044b \u0441\u043a\u0440\u043e\u043c\u043d\u044b\u0435, \u043d\u043e \u043a\u0440\u043e\u0441\u0441\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438.<\/p>\n<h3>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043d\u0438\u043f\u043f\u0435\u0442\u043e\u0432 (\u0432\u0441\u0442\u0430\u0432\u043e\u043a \u043a\u043e\u0434\u0430 \u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438), \u0434\u043b\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0439<\/h3>\n<p>  \u0412\u0441\u0451, \u0447\u0442\u043e \u0432\u044b\u0448\u0435 \u2014 \u044d\u0442\u043e \u043a\u0440\u0430\u0441\u0438\u0432\u043e, \u0433\u043e\u0434\u0438\u0442\u0441\u044f \u043a\u0430\u043a \u0441\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a, \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u043e\u043b\u043d\u043e \u0438 \u0445\u043e\u0440\u043e\u0448\u043e. \u041d\u043e \u043d\u0443\u0436\u043d\u044b \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u0430 \u043d\u0435 \u0442\u0435\u043e\u0440\u0438\u044f \u2014 \u0432\u0435\u0434\u044c \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u043c\u0435\u043b\u043a\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f \u043f\u043e\u0445\u043e\u0436\u0438\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f.<\/p>\n<p>  \u041e\u043f\u044b\u0442 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0438\u043c\u0435\u0442\u044c \u0438\u0441\u0447\u0435\u0440\u043f\u044b\u0432\u0430\u044e\u0449\u0443\u044e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u0432\u0441\u0435\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u2014 \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043e\u0434\u043d\u043e\u0439 \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445, \u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b \u0441\u0435\u0440\u0432\u0438\u0441\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438: \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u0434\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0438\u043b\u0438 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c (\u043a\u043e\u0433\u0434\u0430 \u043a\u043e\u0434 \u0432\u044b\u043b\u043e\u0436\u0435\u043d \u043d\u0430 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u043d), \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0448\u0438\u0431\u043a\u0438 \u043f\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0438\u043b\u0438 \u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0438 \u0434\u043b\u044f \u043e\u0442\u0441\u044b\u043b\u043a\u0438 \u0432 \u0442\u0435\u0445\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0438\u043c\u0435\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u0439 \u0432\u044b\u0432\u043e\u0434 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0432 \u0432\u0438\u0434\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432. <\/p>\n<p>  \u0421\u043b\u043e\u0436\u043d\u044b\u0435 \u0438 \u043d\u0435\u043a\u0440\u043e\u0441\u0441\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0441\u043a\u043e\u0440\u0435\u0435 \u043d\u0435 \u043d\u0443\u0436\u043d\u044b, \u0447\u0435\u043c \u043d\u0443\u0436\u043d\u044b: \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0439 \u0432\u044b\u0432\u043e\u0434 \u0442\u0430\u0431\u043b\u0438\u0446, \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u043e\u0442\u043b\u0430\u0436\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0432 IE \u0438\u043b\u0438 Safari, \u0431\u0443\u0434\u0435\u0442 \u0441\u043a\u043e\u0440\u0435\u0435 \u043c\u0435\u0448\u0430\u0442\u044c, \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u043a \u0443\u0440\u043e\u0432\u043d\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0432 \u043d\u0435\u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b.<\/p>\n<p>  \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u0438\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u043e\u043f\u044b\u0442\u0430, \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0431\u0443\u0434\u0443\u0442 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u0435, \u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0435 \u0438 \u0431\u0435\u0437 \u043b\u0438\u0448\u043d\u0435\u0433\u043e \u043a\u043e\u0434\u0430. \u0415\u0441\u043b\u0438 \u0447\u0430\u0441\u0442\u0438 \u043a\u043e\u0434\u0430 \u043d\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f, \u043f\u0440\u043e\u0449\u0435 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438\u043b\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043c\u0435\u043d\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440.<\/p>\n<p>  \u0412\u043d\u0430\u0447\u0430\u043b\u0435 \u043d\u0430\u0434\u043e \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u0438\u0437\u043c\u044b\u0448\u043b\u0435\u043d\u0438\u044f \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0438\u043c\u0435\u0442\u044c. \u041d\u0435\u043b\u044e\u0431\u0438\u0442\u0435\u043b\u0438 \u0447\u0438\u0442\u0430\u0442\u044c \u0447\u044c\u0438-\u0442\u043e \u0438\u0437\u043c\u044b\u0448\u043b\u0435\u043d\u0438\u044f \u043c\u043e\u0433\u0443\u0442 \u043d\u0430 \u044d\u0442\u043e\u043c \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044e. \u041d\u0430 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u043d\u0438\u0445 \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u044b \u043f\u0440\u0438\u043c\u0435\u0440\u044b.<\/p>\n<h3>1. \u0414\u0438\u0437\u0430\u0439\u043d \u043a\u043e\u0434\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0439.<\/h3>\n<p>  \u041f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u0438 \u0432\u044b\u0431\u0435\u0440\u0435\u043c \u0434\u0438\u0437\u0430\u0439\u043d \u043a\u043e\u0434\u0430. \u042d\u0442\u043e \u2014 \u043d\u0435 \u0434\u0438\u0437\u0430\u0439\u043d \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u044d\u0442\u043e \u2014 \u0442\u043e, \u043a\u0430\u043a \u043a\u043e\u0434 \u0431\u0443\u0434\u0435\u0442 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c\u0441\u044f \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435.<\/p>\n<p>  \u0414\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0438\u043c\u0435\u0435\u043c 2 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u0438, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0434\u0438\u0437\u0430\u0439\u043d\u0430 \u2014 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0442\u0438\u043f\u0430 alert\/confirm\/prompt \u0438 \u043c\u0435\u0442\u043e\u0434\u044b \u043e\u0431\u044a\u0435\u043a\u0442\u0430 console. \u0417\u0430\u043c\u0435\u0449\u0430\u0442\u044c \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0438\u043c\u0435\u043d\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0438 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u2014 \u0432\u0441\u0451 \u0436\u0435, \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0445\u043e\u0440\u043e\u0448\u043e. \u042d\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435\u0432, \u043a\u043e\u0433\u0434\u0430 \u043d\u0430\u0434\u043e \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0442\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439, \u043a\u0430\u043a \u0432 IE. \u0414\u043b\u044f \u0441\u0432\u043e\u0435\u0439 \u043e\u0442\u043b\u0430\u0434\u043a\u0438, \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u0446\u0435\u043b\u0435\u0441\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u0435\u0435 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0435 \u0438\u043c\u044f \u0434\u043b\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0438\u043b\u0438 \u0438\u0445 \u0433\u0440\u0443\u043f\u043f\u044b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u044f \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0441 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435\u043c \u0441\u043b\u043e\u0432\u0430 \u00abAlert\u00bb, \u0441 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0431\u0443\u043a\u0432\u044b, \u043d\u043e \u0438 \u043e\u043d\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0434\u043b\u0438\u043d\u043d\u044b\u043c \u043f\u043e\u0441\u043b\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432, \u0438 \u044f \u043f\u0435\u0440\u0435\u0448\u0451\u043b \u043d\u0430 \u00abwcl()\u00bb \u2014 \u0441\u0438\u043c\u0432\u043e\u043b\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043e\u0442 \u00abwindow.console.log\u00bb. \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0441\u044f \u0432\u044b\u0431\u043e\u0440, \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u0432 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0441\u0432\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442.<\/p>\n<p>  \u0418\u0437 \u00abwcl()\u00bb \u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0442 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u2014 \u00abwci\u00bb \u2014 window.console.info; wcw \u2014 window.console.warn; wce \u2014 window.console.error. \u0422\u0430\u043a\u0438\u0435 \u0441\u043b\u043e\u0432\u0430 \u0440\u0435\u0434\u043a\u043e \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0442\u0441\u044f \u0432 \u0438\u043c\u0435\u043d\u0430\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u0435\u043d\u043d\u044b\u0445, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0435 \u0438 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u043e\u0442\u044b\u0441\u043a\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0432\u0437\u0433\u043b\u044f\u0434\u043e\u043c \u0438\u043b\u0438 \u043f\u043e\u0438\u0441\u043a\u043e\u043c \u043f\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0443. \u0414\u043b\u044f \u0442\u0430\u0439\u043c\u0438\u043d\u0433\u043e\u0432 \u0434\u043e\u0431\u0430\u0432\u0438\u043c wct(), \u0430 \u0434\u043b\u044f \u0441\u0431\u0440\u043e\u0441\u0430 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u2014 wcc().<\/p>\n<p>  \u042d\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u043a\u043b\u0430\u0441\u0442\u044c \u0441\u0440\u0430\u0437\u0443 \u0432 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442. \u042d\u0442\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0441\u043e\u0440\u044f\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043d\u0430 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0435 \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u0432\u044b\u043a\u0443\u0441\u0438\u0442\u044c \u0438\u0437 \u043a\u043e\u0434\u043e\u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0430. \u0410 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442 \u043d\u0435 \u043c\u0435\u043d\u0435\u0435 2 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0438\u043b\u0438 \u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u0435\u0441\u043b\u0438 \u0431\u044b \u043e\u043d\u0438 \u0431\u044b\u043b\u0438 \u0432 \u043e\u0431\u044a\u0435\u043a\u0442\u0435 (\u0442\u0438\u043f\u0430 C.log, C.err,&#8230;).<\/p>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c \u0434\u0438\u0437\u0430\u0439\u043d \u043d\u0435 \u0437\u0430\u043a\u043e\u043d\u0447\u0435\u043d \u2014 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0443\u0434\u043e\u0431\u043d\u044b\u043c \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0435\u0449\u0451 \u0442\u0430\u043a\u043e\u0439 \u0444\u0438\u043d\u0442, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438\u043f\u0438\u0441\u0430\u0442\u044c \u0438\u0445 \u0432 \u043c\u0435\u0442\u043e\u0434\u044b \u043e\u0431\u044a\u0435\u043a\u0442\u0430 String.  <\/p>\n<pre><code class=\"javascript\">String.prototype.wcl = wcl; <\/code><\/pre>\n<p>\u041d\u0435 \u0441\u043f\u0435\u0448\u0438\u0442\u0435 \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0442\u044c \u043d\u0435\u0433\u043e\u0434\u0443\u044e\u0449\u0438\u0435 \u0440\u0443\u043a\u0438 \u2014 \u044d\u0442\u043e \u043d\u0435 \u043d\u0430\u0440\u0443\u0448\u0435\u043d\u0438\u0435 \u0447\u0438\u0441\u0442\u044b\u0445 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u043e\u0432, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442, \u043e\u043f\u044f\u0442\u044c \u0436\u0435, \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u043e\u0442\u043b\u0430\u0434\u043a\u0438, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438. \u041d\u0430 \u0447\u0438\u0441\u0442\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0438\u0445 \u0442\u043e\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0438\u0437 \u043a\u043e\u0434\u0430 \u0432\u044b\u043a\u0443\u0441\u0438\u0442\u044c. \u0410 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0441\u043f\u043e\u0441\u043e\u0431 \u0442\u0435\u043c, \u0447\u0442\u043e \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043b\u0435\u0433\u043a\u043e \u0438\u0441\u043a\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 Ctrl-F.  <\/p>\n<pre><code class=\"javascript\">'Ajax_request'.wcl(data); \/\/\u0434\u0430\u0451\u0442 \u0432\u044b\u0432\u043e\u0434 'Ajax_request' Object{...\u0434\u0430\u043d\u043d\u044b\u0435...} \/\/\u0420\u0430\u0432\u043d\u043e\u0441\u0438\u043b\u044c\u043d\u043e wcl('Ajax_request', data); <\/code><\/pre>\n<p>  \u041d\u0430\u0439\u0442\u0438 \u0432 \u043a\u043e\u0434\u0435 \u044d\u0442\u043e\u0442 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u2014 \u043f\u043e \u0441\u0442\u0440\u043e\u043a\u0435 &quot;<font color=\"#0066ff\">Ajax_request&#8217;<\/font>&quot; (\u0441 \u0430\u043f\u043e\u0441\u0442\u0440\u043e\u0444\u043e\u043c \u0432 \u043a\u043e\u043d\u0446\u0435). \u0412 \u043d\u0430\u0447\u0430\u043b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u043c\u044b \u0432\u043e\u043b\u044c\u043d\u044b \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0432\u043e\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u0434\u043b\u044f \u043b\u0443\u0447\u0448\u0435\u0433\u043e \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432 \u043b\u043e\u0433\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440&quot;==&quot;.<\/p>\n<p>  \u0414\u0438\u0437\u0430\u0439\u043d \u0432\u044b\u0432\u043e\u0434\u0430: \u043b\u043e\u0433 \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445. \u042d\u0442\u043e \u0432\u0435\u0440\u043d\u043e \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f IE \u0441 \u0435\u0433\u043e \u0437\u043d\u0430\u043c\u0435\u043d\u0438\u0442\u044b\u043c \u0431\u0430\u0433\u043e\u043c, \u043d\u043e \u0438 \u0434\u043b\u044f \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432 \u043d\u0430 \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440\u0430\u0445 \u2014 \u0432 Smart TV \u2014 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f\u0445 \u0438 \u0432 \u0422\u0412-\u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0430\u0445 \u043a\u0430\u0431\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u043b\u0435\u0432\u0438\u0434\u0435\u043d\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b, \u043d\u0435 \u0438\u043c\u0435\u044e\u0449\u0438\u0435 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u044b\u0432\u043e\u0434\u0430 \u0438 \u043d\u0435 \u0441\u043e\u0431\u0438\u0440\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u0435\u0433\u043e \u0438\u043c\u0435\u0442\u044c. \u041f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0439 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a \u0438\u043b\u0438 \u0432\u044b\u0432\u043e\u0434 \u0432 \u0431\u043b\u043e\u043a \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435. \u0418\u0434\u0435\u0430\u043b\u044c\u043d\u043e, \u0435\u0441\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0438\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0431\u043b\u043e\u043a, \u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u044f\u0449\u0430\u044f \u0432\u0435\u0441\u044c \u043b\u043e\u0433 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d. \u041d\u0435 \u043f\u043e\u043c\u0435\u0448\u0430\u0435\u0442 \u043e\u043d \u0438 \u0434\u043b\u044f IE, \u0438\u0437\u0431\u0430\u0432\u0438\u0432 \u043d\u0430\u0441 \u043e\u0442 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u043d\u0438\u044f \u043e\u0448\u0438\u0431\u043e\u043a \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u0430.<\/p>\n<p>  \u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u0435\u0441\u043b\u0438 \u043d\u0430\u0434\u043e \u0431\u044b\u0441\u0442\u0440\u043e \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u043d \u043e\u0442 \u043b\u043e\u0433\u043e\u0432, \u0432 \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0435 \u043d\u0430\u0434\u043e \u0438\u043c\u0435\u0442\u044c \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u0437\u0430\u043f\u0440\u0435\u0449\u0430\u044e\u0449\u0435\u0435 \u0432\u044b\u0432\u043e\u0434 \u043b\u043e\u0433\u043e\u0432. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c, \u0435\u0441\u043b\u0438 \u0434\u043e\u043c\u0435\u043d \u2014 localhost \u0438 \u043d\u0435 \u0438\u043d\u0430\u0447\u0435. \u0422\u043e\u0433\u0434\u0430 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u0434\u0430\u043b\u044f\u0442\u044c \u0438\u0445 \u0438\u0437 \u043a\u043e\u0434\u0430 \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0445\u043e\u0442\u044f \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u0430\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0430 \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043d\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c JS \u0438 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0442\u044c \u043a\u043e\u0434.<\/p>\n<p>  \u041f\u043e\u0434\u0432\u0435\u0434\u0451\u043c \u0438\u0442\u043e\u0433\u0438 \u043a\u043e\u0434\u043e\u0432\u043e\u0433\u043e \u0434\u0438\u0437\u0430\u0439\u043d\u0430 (\u043e\u043d \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043b\u0441\u044f \u043d\u0435 \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0430 \u044d\u0442\u0438\u0445 \u0440\u0430\u0441\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f\u0445, \u0430 \u0433\u043e\u0434\u0430 \u0437\u0430 2 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438; \u0440\u0430\u0441\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f \u2014 \u0441\u043f\u043e\u0441\u043e\u0431 \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c \u043f\u0440\u0438\u0447\u0438\u043d\u044b \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c\u044b\u0435 \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430).<\/p>\n<p>  1) \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0438\u043c\u0435\u043d\u0430 \u0434\u043b\u044f \u043b\u043e\u0433\u043e\u0432: wcw, wci, wcl, wce, wcc, wct;<br \/>  2) \u043f\u0440\u043e\u0447\u0438\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u2014 \u043d\u0435 \u0434\u043e\u0440\u043e\u0441\u043b\u0438 \u0434\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f, \u043d\u043e \u0434\u043e\u0440\u043e\u0441\u043b\u0438 \u0434\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f, \u0447\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u043b\u0443\u0447\u0448\u0435, \u0447\u0435\u043c \u0441\u043b\u043e\u0436\u043d\u043e\u0435;<br \/>  3) \u0432\u0441\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043c\u043e\u0433\u0443\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043a\u0430\u043a \u043c\u0435\u0442\u043e\u0434\u044b \u043e\u0431\u044a\u0435\u043a\u0442\u0430 String \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0432 \u043a\u043e\u0434\u0435: &#8216;\u0441\u0442\u0440\u043e\u043a\u0430&#8217;.wcl();<br \/>  4) \u043c\u043e\u0433\u0443\u0442 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043e\u0434\u043d\u0438\u043c \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c;<br \/>  5) \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u043b\u043e\u0433\u0438 \u0432 \u0434\u0440\u0443\u0433\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u2014 \u0434\u0438\u0432 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u0438\u043b\u0438 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u0430\u044f \u043a\u043e\u043d\u0441\u043e\u043b\u044c;<br \/>  6) \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u0434\u043b\u044f \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438.<\/p>\n<h3>2. \u0421\u043d\u0438\u043f\u043f\u0435\u0442\u044b<\/h3>\n<p>  <\/p>\n<h3>2.1. \u041f\u0440\u043e\u0441\u0442\u043e\u0435 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0431\u0435\u0437 IE<\/h3>\n<p>  <\/p>\n<pre><code class=\"javascript\">var noConsole =0, win = window ,wcl = function(a){ a = a!==undefined ? a :''; \/\/\u043a\u043e\u043d\u0441\u043e\u043b\u044c \u043a\u0430\u043a \u043c\u0435\u0442\u043e\u0434 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438\u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f, \u0441 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u043f\u043e noConsole ==1 \tif(win.console && !noConsole) \t\twin.console.log.apply(console, this instanceof String \t\t\t? [&quot;'==&quot;+ this +&quot;'&quot;].concat([].slice.call(arguments)) \t\t\t: arguments); }; String.prototype.wcl = wcl; <\/code><\/pre>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0435\u0441\u0442\u044c \u043f\u0430\u0440\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0443\u043b\u0438\u0447\u043d\u043e\u0439 \u043c\u0430\u0433\u0438\u0438: \u043f\u0435\u0440\u0432\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043d\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0438 \u043d\u0435 \u0438\u043c\u0435\u0442\u044c \u043e\u0448\u0438\u0431\u043e\u043a \u0434\u043b\u044f \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0432\u0438\u0434\u0430 &#8216;\u043c\u0435\u0441\u0442\u043e_\u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0438_116&#8217;.wcl(). \u0410 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 [].slice.call(arguments) \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0440\u0438\u043e\u0431\u0440\u0435\u0441\u0442\u0438 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0441\u0432\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0438 \u0431\u0435\u0437 \u043e\u0448\u0438\u0431\u043e\u043a \u043c\u043e\u0433\u043b\u0438 \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 concat(). (\u041e\u0431 \u044d\u0442\u043e\u043c \u043d\u0435\u0440\u0435\u0434\u043a\u043e \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u044e\u0442 \u043d\u0430 \u0441\u043e\u0431\u0435\u0441\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f\u0445: \u043a\u0430\u043a\u0438\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c \u0432\u044b \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0435 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044e \u0432 \u043c\u0430\u0441\u0441\u0438\u0432?)<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0440\u0435\u0448\u0438\u043b\u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u043e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0441\u043e\u0432\u0441\u0435\u043c \u043a\u043e\u0440\u043e\u0442\u043a\u043e (\u0442\u0443\u0442 \u0432\u043e\u043f\u0440\u043e\u0441 \u2014 \u0432 \u0434\u0438\u0437\u0430\u0439\u043d\u0435 \u043a\u043e\u0434\u0430, \u0443\u0441\u0442\u0440\u043e\u0438\u0442 \u043b\u0438 \u043d\u0430\u0441 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 wcl(&#8230;)):  <\/p>\n<pre><code class=\"javascript\">var noConsole =0, win = window ,wcl = function(){ \/\/\u043a\u043e\u043d\u0441\u043e\u043b\u044c \u043a\u0430\u043a \u043c\u0435\u0442\u043e\u0434 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438\u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f, \u0441 \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u043f\u043e noConsole ==1 \tif(win.console && !noConsole) \t\twin.console.log(arguments); }; <\/code><\/pre>\n<p>\u041d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043f\u0440\u043e\u0441\u0442\u043e \u00abwcl();\u00bb \u0431\u0435\u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u043c. \u0411\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0438 \u0432 IE, \u0435\u0441\u043b\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u043e \u043e\u043a\u043d\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430.<\/p>\n<h3>2.2. \u041f\u0440\u043e\u0441\u0442\u043e\u0435 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441 IE<\/h3>\n<p>  \u041d\u0435\u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c IE \u0442\u043e\u0433\u043e, \u0447\u0442\u043e console.log \u2014 \u044d\u0442\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u044f, \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a \u0435\u0449\u0451 \u043e\u0434\u043d\u043e\u043c\u0443 \u0432\u0438\u0442\u043a\u0443 \u043c\u0430\u0433\u0438\u0438 (\u0438, \u0432 \u043e\u0431\u0449\u0435\u043c, \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0437\u0430\u043c\u0435\u0434\u043b\u044f\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u0432\u043e \u0432\u0441\u0435\u0445 \u0431\u0440-\u0440\u0430\u0445, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043b\u0443\u0447\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0443\u0436\u0435\u043d IE).  <\/p>\n<pre><code class=\"javascript\">var noConsole =0, win = window ,wcl = function(a){ a = a!==undefined ? a :''; \/\/\u043a\u043e\u043d\u0441\u043e\u043b\u044c \u043a\u0430\u043a \u043c\u0435\u0442\u043e\u0434 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438\u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f, \u0441 \u043e\u0442\u043a\u043b. \u043f\u043e noConsole ==1, +IE \tif(win.console && !noConsole) \t\tFunction.prototype.apply.call(console.log, console, this instanceof String \t\t\t? [&quot;'==&quot;+ this +&quot;'&quot;].concat([].slice.call(arguments)) \t\t\t: arguments); }; String.prototype.wcl = wcl; <\/code><\/pre>\n<p>  <\/p>\n<h3>2.3. \u0427\u0435\u0442\u044b\u0440\u0435 \u0443\u0440\u043e\u0432\u043d\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0432 \u043b\u043e\u0433\u0430\u0445<\/h3>\n<p>  \u0415\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u043c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0441\u043a\u0440\u0430\u0441\u0438\u0442\u044c \u0432\u044b\u0432\u043e\u0434, \u0447\u0442\u043e\u0431\u044b \u043d\u0430 \u0446\u0432\u0435\u0442 \u0440\u0430\u0437\u043b\u0438\u0447\u0430\u0442\u044c \u0432\u0430\u0436\u043d\u043e\u0441\u0442\u044c \u0438 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0441\u0432\u043e\u0435\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430, <s>\u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u043a\u043e\u043f\u0438\u043f\u0435\u0439\u0441\u0442\u043e\u043c<\/s> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0432 2.1 \u043a\u043e\u0434 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b 4 \u043f\u043e\u0445\u043e\u0436\u0438\u0445 \u0438 \u0432\u0441\u0435\u043c\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u2014 log, warn, info, error. \u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043a\u043e\u043f\u0438\u043f\u0435\u0439\u0441\u0442 \u0432 \u043a\u043e\u0434\u0435 \u2014 \u043d\u0435 \u043b\u0443\u0447\u0448\u0438\u0439, \u0445\u043e\u0442\u044f \u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043c\u0435\u0442\u043e\u0434, \u0441\u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0441\u043d\u0438\u043f\u043f\u0435\u0442, \u0433\u0434\u0435 \u043a\u043e\u043f\u0438\u043f\u0435\u0439\u0441\u0442 \u0443\u0436\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d \u0432 \u0446\u0438\u043a\u043b, \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u2014 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0432 \u043b\u043e\u0433. \u0423\u0440\u043e\u0432\u043d\u0438:<br \/>  0: warn, (warning)<br \/>  1: info,<br \/>  2: log,<br \/>  3: error.<br \/>  \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f logLevel \u0431\u0443\u0434\u0435\u0442 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c, \u043d\u0438\u0436\u0435 \u043a\u0430\u043a\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c.  <\/p>\n<pre><code class=\"javascript\">(function(w, logLevel, wcA){ var lvl =0   ,$x = function(el, h){if(h) for(var i in h) el[i] = h[i]; return el};   for(var i in wcA) \/\/\u043a\u043e\u043d\u0441\u043e\u043b\u044c[i] \u043a\u0430\u043a \u043c\u0435\u0442\u043e\u0434 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438\u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f     w[i] = (function(lvl, wcAI, i){       return function(a){ a = a!==undefined|| arguments.length ? a :'';         if(w.console && logLevel &lt;= lvl)           Function.prototype.apply.call(w.console[i], w.console, this instanceof String           \/\/w.console[i].apply(console, this instanceof String \/\/--for without IE             ? [wcAI + this +&quot;'&quot;].concat([].slice.call(arguments))             : arguments);         else           w.console[i] = function(){};     } })(lvl++, wcA[i], {wcw:'warn', wci:'info', wcl:'log', wce:'error'}[i]);   w.wcc = w.console.clear;   $x(String.prototype, {wcw: w.wcw, wci: w.wci, wcl: w.wcl, wce: w.wce, wcc: w.wcc }); })(window, \/*logLevel*\/ 0, {wcw:&quot;'-w-&quot;, wci:'--', wcl:&quot;'==&quot;, wce:&quot;'=E=&quot;}); <\/code><\/pre>\n<h3>2.4. \u0427\u0435\u0442\u044b\u0440\u0435 \u0443\u0440\u043e\u0432\u043d\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0432 \u043b\u043e\u0433\u0430\u0445 \u0438\u043b\u0438 \u0432 \u0431\u043b\u043e\u043a\u0435 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435<\/h3>\n<p>  \u041d\u0430 \u0441\u043b\u0443\u0447\u0430\u0439 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u044e \u043a\u043e\u0434 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0434\u0432\u043e\u0435, \u0447\u0442\u043e\u0431\u044b \u0444\u043e\u0440\u043c\u0438\u0440\u0432\u0430\u0442\u044c \u0432\u044b\u0432\u043e\u0434 \u043b\u043e\u0433\u043e\u0432 \u0432 \u0432\u0438\u0434\u0438\u043c\u044b\u0439 \u0431\u043b\u043e\u043a \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435. \u041a\u0430\u043a \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043b\u043e\u0433\u0433\u0435\u0440 \u0432 \u043b\u044e\u0431\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u043c\u0435\u043d\u044f\u044f \u043a\u0430\u043a \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u044b\u0431\u043e\u0440\u043e\u043c logLevel, \u0442\u0430\u043a \u0438 \u0432\u044b\u0432\u043e\u0434 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d \u0438\u043b\u0438 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c. \u041e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u043e\u0439 logLevel = 4 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0435.<br \/>  (\u0427\u0442\u043e\u0431\u044b \u044d\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u043e\u0441\u044c \u0432 IE, \u043d\u0443\u0436\u043d\u044b \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f: )  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u044b\u0442\u044b\u0439 \u0442\u0435\u043a\u0441\u0442<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">if(!Array.indexOf) \/\/old browser support \tArray.prototype.indexOf = function(obj){ \t\tfor(var i =0, iL = this.length; i &lt; iL; i++) \t\t\tif(this[i] == obj) \t\t\t\treturn i; \t\treturn -1; \t}; if(!document.getElementsByClassName) \tdocument.getElementsByClassName = function(className){ \t\tif(!className) return []; \t\tvar e = document.getElementsByTagName('*') \t\t\t,list = []; \t\tfor(var i =0, iL = e.length; i &lt; iL; i++){ \t\t\tvar clss = e[i].className.split(' '); \t\t\tif(clss.indexOf(className) &gt;-1) \t\t\t\tlist.push(e[i]); \t\t} \t\treturn list; \t}; <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  $e() \u2014 \u044d\u0442\u043e \u0441\u043f\u043e\u0441\u043e\u0431 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0431\u043b\u043e\u043a\u043e\u0432:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u044b\u0442\u044b\u0439 \u0442\u0435\u043a\u0441\u0442<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">var $e = function(g){\/\/g={el,cl,ht,cs,at,on,apT}   if(!g.el && g.el !==undefined && g.el !='') return g.el;   g.el = g.el ||'DIV';   var o = g.el = typeof g.el =='string'? document.createElement(g.el) : g.el;   if(o){     if(g.cl)       o.className = g.cl;     if(g.cs){       if(!IE) $x(o.style, g.cs);       else{         var s ='';         for(i in g.cs)           s += toCsKey(i) +':'+ g.cs[i] +';';         o.style.cssText = s;     }}     if(g.ht || g.at){       var at = g.at ||{}; if(g.ht) at.innerHTML = g.ht;}     if(at)       for(var i in at){         if(i=='innerHTML') o[i] = at[i];         else o.setAttribute(i, at[i]);}     g.apT && g.apT.appendChild(o); \/\/\u0441\u0442\u0430\u0432\u0438\u0442\u0441\u044f \u043f\u043e \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0438, \u0435\u0441\u043b\u0438 \u043d\u043e\u0432\u044b\u0439   return o; } <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  <\/p>\n<pre><code class=\"javascript\">var logOnScreen =1   ,logLevel =0 \/\/0..4   ,consoleOrig ,loadLogger = function(onScreen, logLevel){ logLevel = logLevel !==undefined ? logLevel : 3;   var w = window, wcA ={wcw:&quot;'-w-&quot;, wci:'--', wcl:&quot;'==&quot;, wce:&quot;'=E=&quot;} \t,cons = w.document.getElementsByClassName('console')[0];   if(onScreen){ \/\/\u0432\u044b\u0432\u043e\u0434 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0432 \u0431\u043b\u043e\u043a \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435     if(!cons)       cons = $e({cl:'console',cs:{position:'fixed',width:'600px',minHeight:'150px',maxHeight:'800px',overflow:'auto',overflowX:'hidden',overflowY:'auto',top:'-2px',left:'300px',zIndex:99999,fontSize:'13px',fontFamily:'Arial',backgroundColor:'#a5c6ee',opacity:0.65, filter:'progid:DXImageTransform.Microsoft.Alpha(opacity=65)'}, apT: w.document.body });     cons && (cons.style.display ='block');     var consA = {warn:'w', info:'i', log:'', error:'E'};     if(!w.console) w.console ={};     consoleOrig = w.console;     w.console ={}; \tlvl =0;     for(var i in consA){       w.console[i] = (function(lvl, consAI, conCA){return function(aa){         if(cons && logLevel &lt;= lvl){           cons.innerHTML +=['&lt;i class=cons'+ conCA +'&gt;'+ (this instanceof String ?&quot;'==&quot;+ this +&quot;'&quot;: consAI) +'&lt;\/i&gt;'].concat([].slice.call(arguments))             .join('&lt;i class=consDelim&gt;\/ &lt;\/i&gt;') +'&lt;br&gt;';           cons.scrollTop = Math.max(0, cons.scrollHeight);         }       } })(lvl++, consA[i], i.charAt(0).toUpperCase() + i.substr(1) );     }     w.console.clear = function(a){if(cons) cons.innerHTML ='';}   }else     cons && (cons.style.display ='none');   lvl =0;   for(var i in wcA) \/\/\u043a\u043e\u043d\u0441\u043e\u043b\u044c[i] \u043a\u0430\u043a \u043c\u0435\u0442\u043e\u0434 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438\u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f     w[i] = (function(lvl, wcAI, i){       return function(a){ a = a!==undefined|| arguments.length ? a :'';         if(w.console && logLevel &lt;= lvl)         Function.prototype.apply.call(w.console[i], w.console, this instanceof String         \/\/w.console[i].apply(console, this instanceof String \/\/--for without IE           ? [wcAI + this +&quot;'&quot;].concat([].slice.call(arguments))           : arguments);         else           w.console[i] = function(){};     } })(lvl++, wcA[i], {wcw:'warn', wci:'info', wcl:'log', wce:'error'}[i]);   w.wcc = w.console.clear;   $x(String.prototype, {wcw: w.wcw, wci: w.wci, wcl: w.wcl, wce: w.wce, wcc: w.wcc }); }; <\/code><\/pre>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u043e\u0442 \u043b\u043e\u0433\u0433\u0435\u0440 \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 DOM, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u0438\u0432 \u0434\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u043b\u043e\u0433\u043e\u0432.  <\/p>\n<pre><code class=\"javascript\">if(window.addEventListener)   this.addEventListener('DOMContentLoaded',tst,!1); else   this.attachEvent('onload',tst); var tst = function(){   loadLogger(logOnScreen, logLevel);   wcl('tst1');   wcl();   'tst2'.wcl();   'tst3'.wcl({t: 23, o:{s: true}});   'tst-wcw'.wcw(120)   'tst-wci'.wci(121)   'tst-wcl'.wcl(122)   'tst-wce'.wce(123) }; <\/code><\/pre>\n<p> \u0415\u0441\u043b\u0438 \u0432\u044b\u0441\u043e\u0442\u0430 \u0442\u0435\u043a\u0441\u0442\u0430 \u043f\u0440\u0435\u0432\u044b\u0441\u0438\u0442 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0443\u044e \u0432\u044b\u0441\u043e\u0442\u0443 \u0431\u043b\u043e\u043a\u0430, \u0431\u0443\u0434\u0435\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434\u043a\u0440\u0443\u0442\u043a\u0430 \u0441\u043a\u0440\u043e\u043b\u043b\u0430 \u0441\u0442\u0440\u043e\u043a\u043e\u0439 \u00abcons.scrollTop = Math.max(0, cons.scrollHeight);\u00bb.<\/p>\n<h3>3. \u0414\u0438\u0437\u0430\u0439\u043d \u0442\u0430\u0439\u043c\u0438\u043d\u0433\u043e\u0432<\/h3>\n<p>  \u0415\u0441\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0435 \u043f\u0440\u0438\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u043b\u043e\u0433\u043e\u0432 \u0433\u0440\u0443\u043f\u043f\u044b \u00abtime*\u00bb, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u043e\u043d\u0438 \u043c\u0430\u043b\u043e\u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u044b. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442, \u0430 \u0441\u0442\u0440\u043e\u043a\u0430 \u0432\u044b\u0432\u043e\u0434\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0441\u0447\u0438\u0442\u0430\u043d\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f. \u0427\u0442\u043e\u0431\u044b \u0441\u0442\u0440\u043e\u043a\u0430 \u043d\u0435 \u043f\u0443\u0441\u0442\u043e\u0432\u0430\u043b\u0430, \u043b\u0443\u0447\u0448\u0435 \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0435\u0451 \u043e\u0434\u043d\u0438\u043c \u0438\u0437 \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u0432 \u043b\u043e\u0433\u043e\u0432, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, wci(), \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0432 \u0432 \u043d\u0435\u0433\u043e \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u0437 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432. \u041f\u0440\u0430\u0432\u0434\u0430, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430\u0434\u043e \u043f\u0440\u043e\u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0430, \u0441\u0434\u0435\u043b\u0430\u0432 \u0437\u0430\u043e\u0434\u043d\u043e \u0435\u0433\u043e \u0438 \u0434\u043b\u044f IE. \u042d\u0442\u043e \u0436\u0435 \u0434\u0430\u0441\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u0434\u0438\u0432.<\/p>\n<p>  \u0421\u0434\u0435\u043b\u0430\u0435\u043c \u0434\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0449\u0435 \u2014 \u043f\u0443\u0441\u0442\u044c \u0442\u0430\u0439\u043c\u0435\u0440\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u043a\u043e\u043d\u0441\u043e\u043b\u0438. \u041d\u043e \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u0430\u044f \u0444\u043e\u0440\u043c\u0430: \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u0438 \u043e\u0431\u044b\u0447\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f. \u041f\u0443\u0441\u0442\u044c &#8216;x&#8217;.wct() \u0431\u0443\u0434\u0435\u0442 \u0441\u0442\u0430\u0440\u0442\u043e\u043c \u0442\u0430\u0439\u043c\u0435\u0440\u0430, \u0430 wct(&#8216;x&#8217;) \u2014 \u0435\u0433\u043e \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u0435\u043c. \u0415\u0441\u043b\u0438 \u0436\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u0432\u0443\u0445 \u2014 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f 2 \u0441\u0442\u0440\u043e\u043a\u0438: \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u043b\u043e\u0433, \u0430 \u0437\u0430\u0442\u0435\u043c \u0442\u0430\u0439\u043c\u0438\u043d\u0433.<\/p>\n<p>  \u0412 \u044d\u0442\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043d\u0435\u0442 \u043c\u0435\u0441\u0442\u0430 timeStamp(), \u0445\u043e\u0442\u044f \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u0434\u043b\u044f \u043d\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u044e wcts(), \u0442\u043e\u0436\u0435 \u0441 \u043b\u044e\u0431\u044b\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432. \u041d\u043e \u043b\u0443\u0447\u0448\u0435 \u043f\u0440\u0438\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u0438\u0437\u043c\u0430.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">(\u0441\u0432\u0435\u0440\u043d\u0451\u043c \u0432\u0431\u0440\u043e\u0441 \u043a\u043e\u0434\u0430, \u043f\u043e\u0445\u043e\u0436\u0435\u0433\u043e \u043d\u0430 \u043f\u0440\u0435\u0436\u043d\u0438\u0439)<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">var logOnScreen =0   ,logLevel =1 \/\/0..4   ,logTime =1   ,consoleOrig ,loadLogger = function(onScreen, logLevel){ logLevel = logLevel !==undefined ? logLevel : 3;   var w = window, wcA ={wcw:&quot;'-w-&quot;, wci:'--', wcl:&quot;'==&quot;, wce:&quot;'=E=&quot;} \t,cons = w.document.getElementsByClassName('console')[0];   if(onScreen){ \/\/\u0432\u044b\u0432\u043e\u0434 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0432 \u0431\u043b\u043e\u043a \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435     if(!cons)       cons = $e({cl:'console',cs:{position:'fixed',width:'600px',minHeight:'150px',maxHeight:'800px',overflow:'auto',overflowX:'hidden',overflowY:'auto',top:'-2px',left:'300px',zIndex:99999,fontSize:'13px',fontFamily:'Arial',backgroundColor:'#a5c6ee',opacity:0.65, filter:'progid:DXImageTransform.Microsoft.Alpha(opacity=65)'}, apT: w.document.body });     cons && (cons.style.display ='block');     var consA = {warn:'w', info:'i', log:'', error:'E'};     if(!w.console) w.console ={};     consoleOrig = w.console;     w.console ={}; \tlvl =0;     for(var i in consA){       w.console[i] = (function(lvl, consAI, conCA){return function(aa){         if(cons && logLevel &lt;= lvl){           cons.innerHTML +=['&lt;i class=cons'+ conCA +'&gt;'+ (this instanceof String ?&quot;'==&quot;+ this +&quot;'&quot;: consAI) +'&lt;\/i&gt;'].concat([].slice.call(arguments))             .join('&lt;i class=consDelim&gt;\/ &lt;\/i&gt;') +'&lt;br&gt;';           cons.scrollTop = Math.max(0, cons.scrollHeight);         }       } })(lvl++, consA[i], i.charAt(0).toUpperCase() + i.substr(1) );     } \tw.console.clear = function(){if(cons) cons.innerHTML ='';};   }else     cons && (cons.style.display ='none');   lvl =0;   for(var i in wcA) \/\/\u043a\u043e\u043d\u0441\u043e\u043b\u044c[i] \u043a\u0430\u043a \u043c\u0435\u0442\u043e\u0434 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438\u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f     w[i] = (function(lvl, wcAI, i){       return function(a){ a = a!==undefined|| arguments.length ? a :'';         if(w.console && logLevel &lt;= lvl)         Function.prototype.apply.call(w.console[i], w.console, this instanceof String         \/\/w.console[i].apply(console, this instanceof String \/\/--for without IE           ? [wcAI + this +&quot;'&quot;].concat([].slice.call(arguments))           : arguments);         else           w.console[i] = function(){};     } })(lvl++, wcA[i], {wcw:'warn', wci:'info', wcl:'log', wce:'error'}[i]);   w.wcc = w.console.clear;   w.wct = !document.all && logTime ? (function(lvl, wcAI, i){     return function(a){       arguments.length ? (arguments.length !=1 || this != w ? this.wcl.apply(this,arguments) :0       ,console.timeEnd.call(console, this != w ? this : a) ): console.time.call(console,this);     } })() : function(){};   $x(String.prototype, {wcw: w.wcw, wci: w.wci, wcl: w.wcl, wce: w.wce, wcc: w.wcc, wct: w.wct }); }; <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043a:  <\/p>\n<pre><code class=\"javascript\">var tst = function(){   loadLogger(logOnScreen, logLevel);   'x'.wct()   wcl('tst1');   wcl();   'tst2'.wcl();   'y'.wct()   'tst3'.wcl({t: 23, o:{s: true}});   wct('x')   wct('y','\u0434\u0440\u0443\u0433\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435') }; <\/code><\/pre>\n<p>  \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442:<br \/>  <img decoding=\"async\" src=\"http:\/\/img855.imageshack.us\/img855\/3761\/ep0n.png\"\/>    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/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\/198372\/\"> http:\/\/habrahabr.ru\/post\/198372\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<nobr><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/ad4\/d6d\/897\/ad4d6d8972b6488825f13ddf94815fe7.png\" align=\"right\"\/><\/nobr>\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c \u0443\u0434\u043e\u0431\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u044e \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438, \u043d\u043e \u0435\u0449\u0451 \u0443\u0434\u043e\u0431\u043d\u0435\u0435, \u0435\u0441\u043b\u0438 \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0443\u0447\u0442\u0435\u043d\u044b \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0432 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0442\u0435\u043c\u0430 \u043e\u0431\u0451\u0440\u0442\u043e\u043a \u0434\u043b\u044f \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442.<\/p>\n<p>  \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0440\u0430\u043d\u0435\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u0437\u0430\u0442\u0435\u043c \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u043e\u0431\u0437\u043e\u0440 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430 \u043d\u0435\u0434\u0430\u0432\u043d\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 Axel Rauschmayer-\u0430, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u0438 \u043a\u043e\u043d\u0441\u0443\u043b\u044c\u0442\u0430\u043d\u0442\u0430 \u0441 \u0431\u043e\u043b\u0435\u0435 \u0447\u0435\u043c 15-\u043b\u0435\u0442\u043d\u0438\u043c \u0441\u0442\u0430\u0436\u0435\u043c, \u0437\u0430\u0442\u0435\u043c \u044f \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u0443\u044e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0432\u043e\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0443\u0434\u0430\u0447\u043d\u044b\u043c\u0438 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u0438 \u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u043d\u0430 \u0440\u044f\u0434\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432.  <\/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-198372","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/198372","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=198372"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/198372\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=198372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=198372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=198372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}