{"id":188066,"date":"2013-07-30T11:03:03","date_gmt":"2013-07-30T07:03:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=188066"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=188066","title":{"rendered":"<span class=\"post_title\">FireBug* Console API<\/span>"},"content":{"rendered":"<div class=\"content html_format\">\n<h2>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h2>\n<p>  <\/p>\n<blockquote><p>Firebug \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u00abconsole\u00bb \u043a \u043a\u0430\u0436\u0434\u043e\u0439 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435, \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u043e\u0439 \u0432 Firefox. \u042d\u0442\u043e\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043c\u043d\u043e\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u043e\u0437\u0432\u043e\u043b\u044f\u0442 \u0412\u0430\u043c \u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0430 \u043a\u043e\u043d\u0441\u043e\u043b\u044c Firebug \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0449\u0443\u044e \u0447\u0435\u0440\u0435\u0437 \u0441\u043a\u0440\u0438\u043f\u0442\u044b.<\/p><\/blockquote>\n<p><a href=\"http:\/\/firebug.ru\/console.html\">firebug.ru<\/a><\/p>\n<p>  \u041a \u043d\u0430\u0448\u0435\u043c\u0443 \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e firebug \u043e\u0431\u043b\u0430\u0434\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043e\u043c:  <\/p>\n<ul>\n<li>Chrome Javascript console \u2014 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0442\u043e\u0447\u043d\u044b\u0439 \u0430\u043d\u0430\u043b\u043e\u0433<\/li>\n<li>Opera Dragonfly console \u2014 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e<\/li>\n<li>Firefox Web console \u2014 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e<\/li>\n<\/ul>\n<p>  \u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u2014 \u043c\u0430\u043d\u0443\u0430\u043b \u043f\u043e Console API.<br \/>  \u041f\u0440\u0438\u043c\u0435\u0440\u044b \u0434\u0430\u043d\u044b \u0438\u0437 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>Chrome 28.0.1500.72 m, <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>Firebug 1.11.3, <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>Firefox 22.0, <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>Opera 12.15 (\u0432\u0435\u0440\u0441\u0438\u044f \u0434\u043e \u0443\u0445\u043e\u0434\u0430 \u0441 presto)<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h2>\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435<\/h2>\n<p>  <\/p>\n<ul>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u00b1 <a href=\"#log\">console.log<\/a><\/li>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u00b1 <a href=\"#assert\">console.assert<\/a><\/li>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>+ <a href=\"#clear\">console.clear<\/a><\/li>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u00b1 <a href=\"#count\">console.count<\/a><\/li>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u00b1 <a href=\"#debug\">console.debug<\/a><\/li>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>+ <a href=\"#dir\">console.dir<\/a><\/li>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u00b1 <a href=\"#dirxml\">console.dirxml<\/a><\/li>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u00b1 <a href=\"#error\">console.error<\/a><\/li>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u00b1 <a href=\"#exception\">console.exception<\/a><\/li>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>+ <a href=\"#group\">console.group<\/a><\/li>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>+ <a href=\"#group\">console.groupCollapsed<\/a><\/li>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>+ <a href=\"#group\">console.groupEnd<\/a><\/li>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>+ <a href=\"#info\">console.info<\/a><\/li>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u2212 <a href=\"#profile\">console.profile<\/a><\/li>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u2212 <a href=\"#profile\">console.profileEnd<\/a><\/li>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u2212 <a href=\"#table\">console.table<\/a><\/li>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u00b1 <a href=\"#time\">console.time<\/a><\/li>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u00b1 <a href=\"#time\">console.timeEnd<\/a><\/li>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u2212 <a href=\"#time\">console.timeStamp<\/a><\/li>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u00b1 <a href=\"#trace\">console.trace<\/a><\/li>\n<li><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>+ <a href=\"#warn\">console.warn<\/a><\/li>\n<\/ul>\n<h2>\u041c\u0430\u043d\u0443\u0430\u043b<\/h2>\n<p>  <\/p>\n<h3><a name=\"log\"><\/a>console.log(object[, object, &#8230;])<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u00b1<br \/>  \u0412\u044b\u0432\u043e\u0434\u0438\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u044b\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435\u043c \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c. \u0415\u0441\u043b\u0438 \u0437\u0430\u0434\u0430\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0430\u0433\u0440\u0443\u043c\u0435\u043d\u0442\u0430 \u2014 \u043f\u0440\u0438 \u0432\u044b\u0432\u043e\u0434\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0435\u0442 \u0438\u0445 \u043f\u0440\u043e\u0431\u0435\u043b\u043e\u043c.<br \/>  \u042d\u0442\u043e \u0441\u0430\u043c\u044b\u0439 \u0447\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 console.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">var a = '\u043e\u0434\u0438\u043d \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442'; console.log(a); console.log('\u043c\u043d\u043e\u0433\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432', 12, true, [1,2,3], {a:1,b:2}); console.log('Node', document.getElementsByTagName('body')); console.log('DOM', document); console.log('\u0444\u0443\u043d\u043a\u0446\u0438\u044f', alert); console.log('\u043f\u0440\u043e\u0447\u0435\u0435', NaN, null, undefined);<\/code><\/pre>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>Chrome -&gt; <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>Firebug -&gt; <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>Firefox -&gt; <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>Opera<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/7f1\/95f\/ea7\/7f195fea73963e44a04300fd7b207fd4.png\" alt=\"console.log\"\/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>  \u0412\u043e \u0432\u0441\u0435\u0445 \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u0445 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f\u0445 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e \u043a\u043b\u0438\u043a\u0443 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0442\u0430\u043a\u0438\u0445 \u043a\u0430\u043a \u043c\u0430\u0441\u0441\u0438\u0432\u044b, \u043e\u0431\u044a\u0435\u043a\u0442\u044b, DOM \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0438 \u0442.\u043f.<\/p>\n<p>  \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043e\u0441\u043e\u0431\u044b\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f <i>console.log<\/i> \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438.<br \/>  \u041f\u0435\u0440\u0432\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b \u043f\u043e\u0434\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043a\u0430\u043a \u0432 <a href=\"http:\/\/ru.wikipedia.org\/wiki\/Printf\">printf()<\/a>, \u043d\u043e \u0438\u0445 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043c\u0435\u043d\u044c\u0448\u0435 \u0447\u0435\u043c \u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u044d\u0442\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043d\u0430 C, PHP etc.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u2212<br \/>  <a name=\"patterns\"><\/a><\/p>\n<table>\n<tbody>\n<tr>\n<th>\u041f\u0430\u0442\u0442\u0435\u0440\u043d<\/th>\n<th>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/th>\n<\/tr>\n<tr>\n<td><b>%s<\/b><\/td>\n<td>\u0421\u0442\u0440\u043e\u043a\u0430.<\/td>\n<\/tr>\n<tr>\n<td><nobr><b>%d<\/b> \u0438\u043b\u0438 <b>%i<\/b><\/nobr><\/td>\n<td>\u0427\u0438\u0441\u043b\u043e.<\/td>\n<\/tr>\n<tr>\n<td><b>%f<\/b><\/td>\n<td>\u0427\u0438\u0441\u043b\u043e \u0441 \u043f\u043b\u0430\u0432\u0430\u044e\u0449\u0435\u0439 \u0442\u043e\u0447\u043a\u043e\u0439.<br \/>   <sub>\u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f Firebug \u043d\u0430\u0433\u043b\u043e \u0432\u0440\u0451\u0442 &quot;(numeric formatting is not yet supported)&quot; \u2014 \u043d\u0435 \u0432\u0435\u0440\u044c\u0442\u0435 \u0435\u0439<\/sub>   <\/td>\n<\/tr>\n<tr>\n<td><b>%o<\/b><\/td>\n<td>DOM \u044d\u043b\u0435\u043c\u0435\u043d\u0442<br \/>   Firebug \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043a\u0430\u043a \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442.<br \/>   Chrome \u043a\u0440\u043e\u043c\u0435 \u0441\u0441\u044b\u043b\u043a\u0438, \u0435\u0449\u0451 \u0443\u043c\u0435\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432 \u0441\u0430\u043c\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u0438. <u>\u0412 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 <nobr><b>28.0.1500.72 m<\/b><\/nobr> \u0435\u0441\u0442\u044c \u0431\u0430\u0433(?) \u2014 \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u043a\u043e\u043d\u0441\u043e\u043b\u044c DOM \u043f\u043e\u043e\u0447\u0435\u0440\u0451\u0434\u043d\u043e \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0442\u043e \u043a\u0430\u043a DOM, \u0442\u043e \u043a\u0430\u043a Javascript \u043e\u0431\u044a\u0435\u043a\u0442.<\/u><br \/>   Firefox \u043f\u043e \u043a\u043b\u0438\u043a\u0443, \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432 \u043c\u043e\u0434\u0430\u043b\u044c\u043d\u043e\u043c \u043e\u043a\u043d\u0435. (\u0432 \u043d\u0451\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432\u0441\u0435 \u0430\u0442\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u0438 \u043c\u0435\u0442\u043e\u0434\u044b \u044d\u0442\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430).   <\/td>\n<\/tr>\n<tr>\n<td><b>%O<\/b><\/td>\n<td>\u041e\u0431\u044a\u0435\u043a\u0442 JavaScript.<br \/>   \u041d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 Firefox.<br \/>   Chrome \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u043a\u043e\u0433\u0434\u0430 \u0432 %O \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u0442 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0431\u044a\u0435\u043a\u0442, \u0430 DOM \u2014 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u0442 \u0435\u0433\u043e \u0432 js \u043e\u0431\u044a\u0435\u043a\u0442 (\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432\u0441\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0438 \u0430\u0442\u0442\u0440\u0438\u0431\u0443\u0442\u044b).<br \/>   Firebug \u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442 %o \u043e\u0442 %O.   <\/td>\n<\/tr>\n<tr>\n<td><b>%c<\/b><\/td>\n<td>css \u0441\u0442\u0438\u043b\u044c (color,background,font).<br \/>   \u041d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 Firefox.   <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">console.log('\u0423 \u041f\u0435\u0442\u0438 \u0431\u044b\u043b\u043e %d %s',10,'\u044f\u0431\u043b\u043e\u043a'); console.log('\u041f\u0438 \u0440\u0430\u0432\u043d\u043e %f',Math.PI); console.log('%c\u041a\u0430\u0436\u0434\u044b\u0439 %c\u041e\u0445\u043e\u0442\u043d\u0438\u043a %c\u0416\u0435\u043b\u0430\u0435\u0442%c \u0437\u043d\u0430\u0442\u044c \u0433\u0434\u0435 \u0441\u0438\u0434\u0438\u0442 \u0444\u0430\u0437\u0430\u043d','color:red;','font-size:16px;color:orange;','background:black;color:yellow;','font:normal;color:normal;background:normal;'); console.log('body as DOM: %o',document.getElementsByTagName('body')[0]); console.log('object: %O',{a:1,b:2}); console.log('body as Object: %O',document.getElementsByTagName('body')[0]);<\/code><\/pre>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/6a6\/dea\/1a6\/6a6dea1a6ea506ec555b6166c77a586c.png\" alt=\"console.log patterns\"\/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3><a name=\"assert\"><\/a>console.assert(expression[, object, &#8230;])<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u00b1<br \/>  \u0415\u0441\u043b\u0438 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 <b>expression<\/b> \u043e\u0448\u0438\u0431\u043e\u0447\u043d\u043e \u2014 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 <a href=\"#error\">console.error<\/a>, \u0432 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043d\u0438\u0447\u0435\u0433\u043e.<br \/>  <sub>\u041e\u0431 \u043e\u0442\u043b\u0438\u0447\u0438\u044f\u0445 <b>throw new Error()<\/b> \u043e\u0442 <b>console.error()<\/b> \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0432 <a href=\"#error\">console.error<\/a><\/sub><br \/>  \u0415\u0441\u043b\u0438 \u043f\u043e\u0441\u043b\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b \u0435\u0449\u0451 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b, \u0442\u043e:  <\/p>\n<ul>\n<li>Chrome \u2014 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0438\u0445 \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0431\u0435\u043b.<\/li>\n<li>Firebug \u2014 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043c\u0430\u0441\u0441\u0438\u0432 \u0432\u0441\u0435\u0445 \u043e\u0441\u0442\u0430\u0432\u0448\u0438\u0445\u0441\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432.<\/li>\n<\/ul>\n<p>  \u0412 Opera \u2014 \u0435\u0441\u043b\u0438 <b>expression == false<\/b> \u2014 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043a\u0430\u043a <a href=\"#log\">console.log<\/a>, \u0432 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043d\u0438\u0447\u0435\u0433\u043e.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">console.assert(2&gt;1); console.assert(1&gt;2); console.assert(2&gt;1,'\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0438\u0441\u0442\u0438\u043d\u043d\u043e'); console.assert(1&gt;2,'\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043b\u043e\u0436\u043d\u043e'); console.assert(1&gt;2,'\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435','\u043b\u043e\u0436\u043d\u043e'); console.assert(1&gt;2,'\u043f\u0440\u043e\u0432\u0435\u043a\u0430 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u043e\u0432: [%s]','\u043f\u0440\u043e\u0432\u0430\u043b\u0435\u043d\u0430'); console.assert(1&gt;2,'\u043c\u043d\u043e\u0433\u043e','\u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432',1,2,3,{a:1});<\/code><\/pre>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/96f\/dc9\/870\/96fdc987099dd913ef6c7c702dbee34c.png\" alt=\"console.assert\"\/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3><a name=\"clear\"><\/a>console.clear()<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>+<br \/>  \u041e\u0447\u0438\u0449\u0430\u0435\u0442 \u043a\u043e\u043d\u0441\u043e\u043b\u044c. \u041f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442.<\/p>\n<h3><a name=\"count\"><\/a>console.count([object])<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u00b1<br \/>  \u0412\u044b\u0432\u043e\u0434\u0438\u0442, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 \u0431\u044b\u043b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d. \u0415\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 <b>object<\/b> \u043f\u0435\u0440\u0435\u0434\u0430\u043d, \u0442\u043e \u043f\u0435\u0440\u0435\u0434 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u0441\u0447\u0451\u0442\u0447\u0438\u043a\u0430, \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f <b>object.toString()<\/b>**.<br \/>  \u0423 \u0432\u0441\u0435\u0445 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0439 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0438 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438:  <\/p>\n<ul>\n<li>Chrome \u2014 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e <i>console.count<\/i> \u0441 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c <b>object.toString()<\/b>.<\/li>\n<li>Firebug \u2014 \u043d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e <i>console.count<\/i>, \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u0432 \u0446\u0438\u043a\u043b\u0435.<\/li>\n<li>Opera \u2014 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442 \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0432\u043c\u0435\u0441\u0442\u043e \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0438\u0445 \u043a \u0441\u0442\u0440\u043e\u043a\u043e\u0432\u043e\u043c\u0443 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e.<br \/>   \u041d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0443, \u0441 \u0442\u0435\u043a\u0443\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435\u043c \u043a console.   <\/li>\n<\/ul>\n<p><sub>\u042f \u043d\u0435 \u0441\u0447\u0438\u0442\u0430\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043e\u0442 Chrome \u043d\u0435\u0442\u043e\u0447\u043d\u043e\u0439, \u043f\u0443\u0441\u0442\u044c \u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0435\u0439 \u00b1. \u041f\u0440\u043e\u0441\u0442\u043e \u0432\u0437\u0433\u043b\u044f\u0434 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432 google \u043d\u0430 \u044d\u0442\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432 firebug.<\/sub>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">console.count(); console.count(); \/\/ \u0443\u0436\u0435 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0447\u0451\u0442\u0447\u0438\u043a console.count('\u043f\u0435\u0440\u0432\u044b\u0439'); console.count('\u043f\u0435\u0440\u0432\u044b\u0439'); \/\/ \u0442\u043e\u0442 \u0436\u0435 \u0441\u0447\u0451\u0442\u0447\u0438\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f Chrome console.count('\u043c\u043d\u043e\u0433\u043e','\u0440\u0430\u0437\u043d\u044b\u0445','\u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432'); console.count(document); for (i=0;i&lt;2;i++) console.count(); \/\/ \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 \u0441\u0447\u0451\u0442\u0447\u0438\u043a for (i=0;i&lt;2;i++) console.count('\u0432\u0442\u043e\u0440\u043e\u0439'); \/\/ \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 \u0441\u0447\u0451\u0442\u0447\u0438\u043a<\/code><\/pre>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/b3a\/d2a\/a44\/b3ad2aa44b6925c1e075ae4d79ea6238.png\" alt=\"console.count\"\/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3><a name=\"debug\"><\/a>console.debug(object[, object, &#8230;])<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u00b1<br \/>  \u0410\u043b\u0438\u0430\u0441 \u043d\u0430 <a href=\"#log\">console.log<\/a>.<br \/>  \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0434\u043b\u044f \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438 \u0441 \u0434\u0440\u0435\u0432\u043d\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0435\u0439 Console API, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 <i>console.debug<\/i> \u043e\u0442\u043b\u0438\u0447\u0430\u043b\u0441\u044f \u043e\u0442 <i>console.log<\/i> \u0442\u0435\u043c, \u0447\u0442\u043e \u0432\u044b\u0432\u043e\u0434\u0438\u043b \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0443, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u0451\u043b \u0432\u044b\u0437\u043e\u0432 console. \u0412 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 API <a href=\"#log\">console.log<\/a> \u0434\u0435\u043b\u0430\u0435\u0442 \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435.<br \/>  \u0412 Chrome \u2014 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0442\u0435\u043a\u0441\u0442 \u0441\u0438\u043d\u0438\u043c (\u0432 <a href=\"#log\">console.log<\/a> \u0442\u0435\u043a\u0441\u0442 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0442\u0451\u043c\u043d\u043e\u0441\u0435\u0440\u044b\u043c).  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">var a = '\u043e\u0434\u0438\u043d \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442'; console.debug(a); console.debug('\u043c\u043d\u043e\u0433\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432', 12, true, [1,2,3], {a:1,b:2}); console.debug('Node', document.getElementsByTagName('body')); console.debug('DOM', document); console.debug('\u0444\u0443\u043d\u043a\u0446\u0438\u044f', alert); console.debug('\u043f\u0440\u043e\u0447\u0435\u0435', NaN, null, undefined); console.debug('\u0423 \u041f\u0435\u0442\u0438 \u0431\u044b\u043b\u043e %d %s',10,'\u044f\u0431\u043b\u043e\u043a');<\/code><\/pre>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/0d4\/b82\/d5d\/0d4b82d5d10c495cb1477c4d2b3a2fe0.png\" alt=\"console.debug\"\/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3><a name=\"dir\"><\/a>console.dir(object)<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>+<br \/>  \u0412\u044b\u0432\u043e\u0434\u0438\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043a\u0430\u043a Javascript-\u043e\u0431\u044a\u0435\u043a\u0442 (\u0434\u043b\u044f DOM \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u2014 \u0432\u044b\u0432\u043e\u0434\u044f\u0442\u044c\u0441\u044f \u0432\u0441\u0435 \u0438\u0445 \u0430\u0442\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u0438 \u043c\u0435\u0442\u043e\u0434\u044b).<br \/>  \u041f\u043e\u0445\u043e\u0436\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 <b>%O<\/b> \u0432 <a href=\"#log\">console.log<\/a> \u0432 Chrome.<br \/>  \u041a\u0430\u043a \u0438 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 <a href=\"#count\">console.count<\/a> \u2014 \u0443 \u0432\u0441\u0435\u0445 \u0441\u0432\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430 API:  <\/p>\n<ul>\n<li>Chrome \u2014 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b, \u0443 \u043a\u043e\u0442\u043e\u0440\u043e\u0445 \u043d\u0435\u0442\u0443 \u043d\u0438 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u043d\u0438 \u0430\u0442\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432, \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0432\u0441\u0451-\u0440\u0430\u0432\u043d\u043e \u043a\u0430\u043a \u043e\u0431\u044a\u0435\u043a\u0442\u044b.<\/li>\n<li>Firebug \u2014 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442 \u0432\u0441\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0442\u0438\u043f\u044b \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 (String, Number, Boolean).<br \/>   \u0412\u044b\u0432\u043e\u0434 \u0442\u0430\u043a\u043e\u0439 \u0436\u0435 \u043a\u0430\u043a \u0432\u043e \u0432\u043a\u043b\u0430\u0434\u043a\u0435 DOM.<br \/>   \u041d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0443, \u0441 \u0442\u0435\u043a\u0443\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435\u043c \u043a console.   <\/li>\n<li>Firefox \u2014 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e Chrome.<br \/>   \u0412\u044b\u0432\u043e\u0434 \u0442\u0430\u043a\u043e\u0439 \u0436\u0435 \u043a\u0430\u043a \u0432 \u043c\u043e\u0434\u0430\u043b\u044c\u043d\u044b\u0445 \u043e\u043a\u043d\u0430\u0445.   <\/li>\n<li>Opera \u2014 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0431\u043e\u043b\u0435\u0435 1 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430.<br \/>   \u041f\u0440\u043e\u0441\u0442\u044b\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e <a href=\"#log\">console.log<\/a>.<br \/>   \u041f\u0440\u0438 \u0432\u044b\u0432\u043e\u0434\u0435 \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0435\u0442 \u043c\u0435\u0442\u043e\u0434\u044b \u0438 \u0430\u0442\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u043d\u0430 \u043a\u043b\u0430\u0441\u0441\u044b \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u0438 \u0438 \u043f\u0440\u0430\u0440\u043e\u0434\u0438\u0442\u0435\u043b\u0438 (\u0437\u0430\u043c\u0435\u0442\u043d\u043e \u043f\u0440\u0438 \u0432\u044b\u0432\u043e\u0434\u0435 [1,2] \u0438 {a:1}).   <\/li>\n<\/ul>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">console.dir('\u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442'); console.dir([1,2]); console.dir({a:1}); console.dir([1,2],{a:1}); console.dir(document);<\/code><\/pre>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2e8\/052\/70f\/2e805270fb6e008da139975ec297aed6.png\" alt=\"console.dir\"\/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3><a name=\"dirxml\"><\/a>console.dirxml(object)<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u00b1<br \/>  \u0412\u044b\u0432\u043e\u0434\u0438\u0442 XML \u043a\u043e\u0434 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430.  <\/p>\n<ul>\n<li>Chrome \u2014 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u043e <a href=\"#log\">console.log<\/a> \u0441 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u043e\u043c <b>%o<\/b> \u0433\u043b\u044e\u0447\u0438\u0442 \u0442\u0430\u043a \u0436\u0435 (:<\/li>\n<li>Firebug \u2014 \u043d\u0430 \u0432\u0441\u0435 \u044d\u043b\u0435\u043c\u0435\u0442\u044b \u043a\u0440\u043e\u043c\u0435 DOM \u0432\u044b\u0432\u043e\u0434\u0438\u0442 &lt;&gt;\\n&lt;\/&gt;.<\/li>\n<li>Opera \u2014 \u0435\u0441\u043b\u0438 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u2014 \u043e\u0431\u044a\u0435\u043a\u0442\u044b, \u043d\u043e \u043d\u0435 DOM \u2014 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0438\u0445 \u0442\u0438\u043f \u0438 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u0432 \u043a\u043e\u0434\u0435.<br \/>   <u>\u0412 \u0432\u0435\u0440\u0441\u0438\u0438 <b>12.15<\/b> \u043f\u0440\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 2-\u0445 \u0438 \u0431\u043e\u043b\u0435\u0435 \u043d\u0435\u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u0432\u0430 \u043c\u0430\u0441\u0441\u0438\u0432\u0430, \u0438\u043b\u0438 \u043e\u0431\u044a\u0435\u043a\u0442 \u0438 \u043c\u0430\u0441\u0441\u0438\u0432) \u2014 \u0432\u0438\u0441\u043d\u0435\u0442 \u0434\u0432\u0438\u0436\u043e\u043a dragonfly, \u0438\u0437-\u0437\u0430 \u0447\u0435\u0433\u043e \u0435\u0433\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c.<\/u>   <\/li>\n<\/ul>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">console.dirxml('\u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442'); console.dirxml([1,2]); console.dirxml({a:1}); console.dirxml(document); console.dirxml([1,2],{a:1});<\/code><\/pre>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/182\/ab3\/6ea\/182ab36ea52b7fa927c6ae3106df995b.png\" alt=\"console.dirxml\"\/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3><a name=\"error\"><\/a>console.error(object)<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u00b1<br \/>  \u0412\u044b\u0432\u043e\u0434\u0438\u0442 \u043e\u0448\u0438\u0431\u043a\u0443 \u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 <a href=\"#trace\">console.trace<\/a> \u0434\u043b\u044f \u043c\u0435\u0441\u0442\u0430, \u043e\u0442\u043a\u0443\u0434\u0430 \u043e\u043d\u0430 \u0431\u044b\u043b\u0430 \u0432\u044b\u0437\u0432\u0430\u043d\u0430.<br \/>  <b>!<\/b> \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f <a href=\"#patterns\">\u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b<\/a> \u043a\u0430\u043a \u0432 <a href=\"#log\">console.log<\/a>.<br \/>  \u0420\u0430\u0437\u043b\u0438\u0447\u0438\u044f \u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f\u0445:  <\/p>\n<ul>\n<li>Chrome \u2014 \u043d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043d\u0438\u0447\u0435\u0433\u043e, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0431\u044b\u043b\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u043e \u043d\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430.<br \/>   \u0418\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442 message \u0443 \u043e\u0448\u0438\u0431\u043a\u0438 (\u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442 \u0442\u0438\u043f\u0430 Error).   <\/li>\n<li>Firebug \u2014 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 <a href=\"#trace\">console.trace<\/a> \u0438 \u043a\u043e\u0434, \u0432\u044b\u0437\u0432\u0430\u0432\u0448\u0438\u0439 error, \u0432\u044b\u0432\u0435\u0434\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u043d \u0440\u043e\u0432\u043d\u043e 1 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442.<\/li>\n<li>Firefox \u2014 \u0432\u044b\u0432\u043e\u0434 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 <a href=\"#log\">console.log<\/a> \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u0440\u0435\u0441\u0442\u0438\u043a\u043e\u043c \u0441\u043b\u0435\u0432\u0430. \u041d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 <a href=\"#trace\">console.trace<\/a>.<\/li>\n<li>Opera \u2014 \u0432\u044b\u0432\u043e\u0434 \u0432\u0441\u0435\u0433\u043e, \u0447\u0442\u043e \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u043c \u0442\u0438\u043f\u0430 Error \u0438 \u0435\u0433\u043e \u043f\u043e\u0434\u043a\u043b\u0430\u0441\u0441\u043e\u0432, \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 <a href=\"#log\">console.log<\/a> \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u0440\u0430\u0441\u043d\u044b\u043c \u0446\u0432\u0435\u0442\u043e\u043c \u0442\u0435\u043a\u0441\u0442\u0430. \u041d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 <a href=\"#trace\">console.trace<\/a>.<br \/>   \u041e\u0431\u044a\u0435\u043a\u0442\u044b \u0442\u0438\u043f\u0430 Error \u0438 \u0435\u0433\u043e \u043f\u043e\u0434\u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0432\u044b\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u0432\u0435\u0441\u044c\u043c\u0430 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e.<br \/>   <u>\u0412 \u0432\u0435\u0440\u0441\u0438\u0438 <b>12.15<\/b> \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0432\u044b\u0432\u0435\u0441\u0442\u0438 <i>console.error<\/i> \u0431\u0435\u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u2014 \u043e\u043d \u043d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f, \u043d\u043e \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0443 \u0441\u043f\u0440\u0430\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u0431\u0438\u0432\u0430\u0435\u0442 \u0441\u0441\u044b\u043b\u043a\u0443 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0432\u0431\u043e\u043a.<\/u>   <\/li>\n<\/ul>\n<p>  <b>!<\/b> \u0412\u0430\u0436\u043d\u043e \u0437\u043d\u0430\u0442\u044c:  <\/p>\n<ul>\n<li><b>throw new Error(&#8216;mesasge&#8217;)<\/b> \u2014 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 JavaScript-\u043a\u043e\u0434\u0430.<\/li>\n<li><b>console.error(&#8216;message&#8217;)<\/b> \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435, \u043d\u0435 \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0443 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430.<\/li>\n<\/ul>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">console.error(); \/\/ \u0431\u0435\u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 console.error('\u043e\u0448\u0438\u0431\u043a\u0430 \u0441 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u043c'); console.error('\u043c\u043d\u043e\u0433\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432', 12, true, [1,2,3], {a:1,b:2}); console.error('\u0423 \u041f\u0435\u0442\u0438 \u0431\u044b\u043b\u043e %d %s',10,'\u044f\u0431\u043b\u043e\u043a'); (function firstlevel () {     (function secondlevel () {         (function lastlevel () {             console.error('\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0441\u0442\u044d\u043a\u0430');         })();     })(); })(); console.error(new Error('\u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430')); \/\/  \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430<\/code><\/pre>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/4ce\/f6a\/5ea\/4cef6a5ea2ec914dced863545f81c67a.png\" alt=\"console.error\"\/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3><a name=\"exception\"><\/a>console.exception(error-object[, object, &#8230;])<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u00b1<br \/>  \u0412\u044b\u0432\u043e\u0434\u0438\u0442 \u043e\u0448\u0438\u0431\u043a\u0443 \u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 <a href=\"#trace\">trace()<\/a> \u0434\u043b\u044f \u043c\u0435\u0441\u0442\u0430, \u043e\u0442\u043a\u0443\u0434\u0430 \u043e\u043d\u0430 \u0431\u044b\u043b\u0430 \u0432\u044b\u0437\u0432\u0430\u043d\u0430.<br \/>  \u041e\u0434\u0438\u043d \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u043d\u0435\u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u044b\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432:  <\/p>\n<ul>\n<li>Firebug \u2014 \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 <a href=\"#error\">console.error<\/a>, \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e \u0434\u0430\u043b\u0451\u043a \u043e\u0442 <a href=\"#log\">console.log<\/a>. \u041d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 <a href=\"#patterns\">\u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b<\/a>, \u0432\u0441\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u043a\u0440\u043e\u043c\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u043e\u0434\u043d\u0438\u043c \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u043c.<br \/>   \u0412 \u0441\u043b\u0443\u0447\u0430\u0435, \u043a\u043e\u0433\u0434\u0430 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u043d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043e \u2014 \u0432\u043c\u0435\u0441\u0442\u043e message \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u00ab\u041e\u0448\u0438\u0431\u043a\u0430 \u0432 \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u0438\u00bb.   <\/li>\n<li>Opera \u2014 \u0438\u0437-\u0437\u0430 \u043f\u043e\u043f\u044b\u0442\u043e\u043a \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0443 \u2014 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0432\u0441\u0451 \u0432\u0440\u0430\u0437\u043d\u043e\u0431\u043e\u0439. \u0412 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a <a href=\"#error\">console.error<\/a>.<\/li>\n<\/ul>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">console.exception(); \/\/ \u0431\u0435\u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 console.exception('\u043e\u0448\u0438\u0431\u043a\u0430 \u0441 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u043c'); console.exception('\u043c\u043d\u043e\u0433\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432', 12, true, [1,2,3], {a:1,b:2}); console.exception('\u0423 \u041f\u0435\u0442\u0438 \u0431\u044b\u043b\u043e %d %s',10,'\u044f\u0431\u043b\u043e\u043a'); (function firstlevel () {     (function secondlevel () {         (function lastlevel () {             console.exception('\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0441\u0442\u044d\u043a\u0430');         })();     })(); })(); console.exception(new Error('\u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430')); \/\/  \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430<\/code><\/pre>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/3c6\/ef3\/551\/3c6ef3551e4a38f361625976a554453d.png\" alt=\"console.exception\"\/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>  <a name=\"group\"><\/a>  <\/p>\n<h3>console.group(object[, object, &#8230;])<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>+<br \/>  \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043d\u043e\u0432\u0443\u044e <u>\u0440\u0430\u0437\u0432\u0451\u0440\u043d\u0443\u0442\u0443\u044e<\/u> \u0433\u0440\u0443\u043f\u043f\u0443 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438.<br \/>  <b>!<\/b> \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f <a href=\"#patterns\">\u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b<\/a> \u043a\u0430\u043a \u0432 <a href=\"#log\">console.log<\/a><br \/>  \u0412 Firefox \u2014 \u0433\u0440\u0443\u043f\u043f\u044b \u043d\u0435\u043b\u044c\u0437\u044f \u0441\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0438\u043b\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c.<\/p>\n<h3>console.groupCollapsed(object[, object, &#8230;])<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/> \u2014 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>+<br \/>  \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043d\u043e\u0432\u0443\u044e \u0433\u0440\u0443\u043f\u043f\u0443 \u0441\u0440\u0430\u0437\u0443 <u>\u0441\u0432\u0451\u0440\u043d\u0443\u0442\u043e\u0439<\/u>.<br \/>  \u0432 Firefox \u2014 \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0440\u0430\u0437\u0432\u0451\u0440\u043d\u0443\u0442\u0443\u044e \u0433\u0440\u0443\u043f\u043f\u0443.<\/p>\n<h3>console.groupEnd()<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>+<br \/>  \u0417\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043e\u0442\u043a\u0440\u044b\u0442\u0443\u044e \u0433\u0440\u0443\u043f\u043f\u0443.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">console.log('\u0422\u0435\u043a\u0441\u0442 \u0432\u043d\u0435 \u0433\u0440\u0443\u043f\u043f'); console.group(); \/\/ \u0431\u0435\u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432     console.log('\u0422\u0435\u043a\u0441\u0442 \u0432 \u0431\u0435\u0437\u044b\u043c\u044f\u043d\u043d\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u0435');     console.group('\u043f\u0435\u0440\u0432\u0430\u044f \u0433\u0440\u0443\u043f\u043f\u0430', '\u0441\u043e', '\u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e\u043c', '\u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432', 12, true, [1,2,3], {a:1,b:2});         console.log('\u0422\u0435\u043a\u0441\u0442 \u0432 \u043f\u0435\u0440\u0432\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u0435');         console.group('\u0432\u0442\u043e\u0440\u0430\u044f %c\u0433\u0440\u0443\u043f\u043f\u0430', 'color: red;');             console.log('\u0422\u0435\u043a\u0441\u0442 \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u0435');             console.groupCollapsed('\u0442\u0440\u0435\u0442\u044f\u044f \u0433\u0440\u0443\u043f\u043f\u0430');                 console.log('\u0422\u0435\u043a\u0441\u0442 \u0432 \u0442\u0440\u0435\u0442\u044c\u0435\u0439 \u0433\u0440\u0443\u043f\u043f\u0435');             console.groupEnd();             console.log('\u0422\u0435\u043a\u0441\u0442 \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u0435');         console.groupEnd();         console.log('\u0422\u0435\u043a\u0441\u0442 \u0432 \u043f\u0435\u0440\u0432\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u0435');<\/code><\/pre>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f21\/fdc\/3b2\/f21fdc3b28dc4c38ae849eeedac93200.png\" alt=\"console.group\"\/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3><a name=\"info\"><\/a>console.info(object[, object, &#8230;])<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>+<br \/>  \u0412\u044b\u0432\u043e\u0434\u0438\u0442 log \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c\u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438.<br \/>  <b>!<\/b> \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f <a href=\"#patterns\">\u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b<\/a> \u043a\u0430\u043a \u0432 <a href=\"#log\">console.log<\/a>  <\/p>\n<ul>\n<li>Chrome \u2014 \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439. <sub>\u041f\u043e\u0447\u0435\u043c\u0443 \u0432 <a href=\"#debug\">debug<\/a>, \u0430 \u043d\u0435 \u0442\u0443\u0442 \u0441\u0442\u0440\u043e\u043a\u0438 \u0432\u044b\u0432\u043e\u0434\u044f\u0442\u044c\u0441\u044f \u0441\u0438\u043d\u0438\u043c \u0446\u0432\u0435\u0442\u043e\u043c? Because fuck you, that&#8217;s why!<\/sub><\/li>\n<li>Firebug \u2014 \u0441\u0442\u0430\u0432\u0438\u0442 \u0438\u043a\u043e\u043d\u043a\u0443 \u0441 \u0441\u0438\u043d\u0438\u043c \u0432\u043e\u0441\u043a\u043b\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0437\u043d\u0430\u043a\u043e\u043c \u0441\u043b\u0435\u0432\u0430 \u043e\u0442 \u0432\u044b\u0432\u043e\u0434\u0430, \u043f\u043e\u0434\u0441\u0432\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0443 \u0441\u0438\u043d\u0438\u043c.<\/li>\n<li>Firefox \u2014 \u0441\u0442\u0430\u0432\u0438\u0442 \u0438\u043a\u043e\u043d\u043a\u0443 \u0441 \u0432\u043e\u0441\u043a\u043b\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0437\u043d\u0430\u043a\u043e\u043c \u0432 \u043a\u0440\u0443\u0433\u0435 \u0441\u043b\u0435\u0432\u0430 \u043e\u0442 \u0432\u044b\u0432\u043e\u0434\u0430.<\/li>\n<li>Opera \u2014 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0441\u0438\u043d\u0438\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u043c.<\/li>\n<\/ul>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">var a = '\u043e\u0434\u0438\u043d \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442'; console.info(a); console.info('\u043c\u043d\u043e\u0433\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432', 12, true, [1,2,3], {a:1,b:2}); console.info('Node', document.getElementsByTagName('body')); console.info('DOM', document); console.info('\u0444\u0443\u043d\u043a\u0446\u0438\u044f', alert); console.info('\u043f\u0440\u043e\u0447\u0435\u0435', NaN, null, undefined); console.info('\u0423 \u041f\u0435\u0442\u0438 \u0431\u044b\u043b\u043e %d %s',10,'\u044f\u0431\u043b\u043e\u043a');<\/code><\/pre>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/895\/580\/b3a\/895580b3ad4568e0d601cf45733e5358.png\" alt=\"console.info\"\/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>  <a name=\"profile\"><\/a>  <\/p>\n<h3>console.profile([title])<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u2212<br \/>  \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u0442 Javascript-\u043f\u0440\u043e\u0444\u0430\u0439\u043b\u0435\u0440.<br \/>  \u041f\u0440\u043e\u0444\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u0434\u0430 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u043e\u0442\u0441\u043b\u0435\u0434\u0438\u0442\u044c, \u043a\u0430\u043a\u0430\u044f \u0435\u0433\u043e \u0447\u0430\u0441\u0442\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0434\u043e\u043b\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e. \u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043f\u0440\u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0435.<\/p>\n<h3>console.profileEnd()<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u2212<br \/>  \u0412\u044b\u043a\u043b\u044e\u0447\u0430\u0435\u0442 Javascript-\u043f\u0440\u043e\u0444\u0430\u0439\u043b\u0435\u0440<\/p>\n<ul>\n<li>Chrome \u2014 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 2 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u043c \u2014 \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043f\u0440\u043e\u0444\u0438\u043b\u044c.<\/li>\n<li>Firebug \u2014 \u043f\u0440\u043e\u0444\u0438\u043b\u044c \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u044f\u043c\u043e \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438.<\/li>\n<li>Firefox \u2014 \u0434\u0432\u0438\u0436\u043e\u043a \u043f\u0440\u043e\u0444\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0435\u0441\u0442\u044c, \u043d\u043e \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 console.<\/li>\n<li>Opera \u2014 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0435\u0449\u0451 \u043d\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u0430.<\/li>\n<\/ul>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">console.profile(); (function someFunction() {   for (i=0;i&lt;10000000;i++) {var s='a'; s+='a'; delete s;} })() console.profileEnd(); console.profile(&quot;\u043c\u043e\u0439 \u043f\u0440\u043e\u0444\u0438\u043b\u044c&quot;); (function someFunction() {   for (i=0;i&lt;10000000;i++) {var s='a'; s+='a'; delete s;} })() console.profileEnd();<\/code><\/pre>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/6bc\/127\/0e2\/6bc1270e2706e481ca137724c6e1dc92.png\" alt=\"console.profile\"\/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3><a name=\"table\"><\/a>console.table(data[, columns])<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u2212<br \/>  \u0412\u044b\u0432\u043e\u0434\u0438\u0442 \u0442\u0430\u0431\u043b\u0438\u0446\u0443.<br \/>  \u0412 <b>data<\/b> \u043e\u0436\u0438\u0434\u0430\u0435\u0442\u0441\u044f \u043c\u0430\u0441\u0441\u0438\u0432 \u0438\u043b\u0438 array-like \u043e\u0431\u044a\u0435\u043a\u0442.<br \/>  \u041d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 <b>columns<\/b> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0434\u0430\u0442\u044c \u0438\u043c\u0435\u043d\u0430 \u043a\u043e\u043b\u043e\u043d\u043a\u0430\u043c \u0442\u0430\u0431\u043b\u0438\u0446\u044b, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0434\u043b\u044f \u0433\u0438\u0431\u043a\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0432\u044b\u0432\u043e\u0434\u0430 array-like \u043e\u0431\u044a\u0435\u043a\u0442\u0430.<br \/>  (\u042d\u0442\u043e\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0434\u043e\u0441\u0442\u043e\u0435\u043d \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438. \u0417\u0430 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u044f\u043c\u0438, \u0438\u0434\u0438\u0442\u0435 <a href=\"http:\/\/www.softwareishard.com\/blog\/firebug\/tabular-logs-in-firebug\/\">\u0442\u0443\u0434\u0430<\/a>, \u043a\u0443\u0434\u0430 \u0432\u0430\u0441 \u043f\u043e\u0441\u044b\u043b\u0430\u0435\u0442 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f.)<br \/>  Chrome \u043d\u0435 \u0443\u043c\u0435\u0435\u0442 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0435\u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044f \u0432\u043c\u0435\u0441\u0442\u043e \u043d\u0438\u0445 \u0442\u0430\u043a\u043e\u0439 \u0442\u0435\u043a\u0441\u0442 \u043a\u0430\u043a \u00abArray[3]\u00bb, Object \u0438 \u0442.\u043f.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">var table = []; table[0] = [1,'2',[1,2,3]]; table[1] = [document,document.getElementsByTagName('body'),window]; table[2] = [{a:1},null,alert]; console.table(table);  function Person(firstName, lastName, age) {     this.firstName = firstName;     this.lastName = lastName;     this.age = age; } var family = {}; family.mother = new Person(&quot;\u041e\u043b\u044c\u0433\u0430&quot;, &quot;\u0418\u0432\u0430\u043d\u043e\u0432\u0430&quot;, 32); family.father = new Person(&quot;\u0418\u0432\u0430\u043d&quot;, &quot;\u0418\u0432\u0430\u043d\u043e\u0432&quot;, 33); family.daughter = new Person(&quot;\u0414\u0430\u0440\u044c\u044f&quot;, &quot;\u0418\u0432\u0430\u043d\u043e\u0432\u0430&quot;, 5); family.son = new Person(&quot;\u041e\u043b\u0435\u0433&quot;, &quot;\u0418\u0432\u0430\u043d\u043e\u0432&quot;, 8); console.table(family);<\/code><\/pre>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/72e\/072\/e40\/72e072e4086eabe6a91c8c86366fc025.png\" alt=\"console.table\"\/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>  <a name=\"time\"><\/a>  <\/p>\n<h3>console.time(name)<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u00b1<br \/>  \u0421\u043e\u0437\u0434\u0430\u0451\u0442 \u043d\u043e\u0432\u044b\u0439 \u0442\u0430\u0439\u043c\u0435\u0440 \u0438 \u043f\u0440\u0438\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442 \u0435\u0433\u043e \u043a <b>name<\/b>. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043a <b>name<\/b> \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f <b>toString()<\/b>**.  <\/p>\n<ul>\n<li>Chrome \u2014 \u0432\u044b\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0431\u044b\u043b\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043e \u043d\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430.<\/li>\n<li>Firebug \u2014 \u0432\u044b\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0431\u044b\u043b\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043e \u043d\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430.<\/li>\n<li>Firefox \u2014 \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.<\/li>\n<li>Opera \u2014 \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.<br \/>   <u>\u0412 \u0432\u0435\u0440\u0441\u0438\u0438 <b>12.15<\/b> \u043f\u0440\u0435\u043a\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432\u044b\u0432\u043e\u0434 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c, \u0431\u0435\u0437 \u0432\u044b\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u043d\u0438\u044f \u043e\u0448\u0438\u0431\u043a\u0438, \u0432 \u0441\u043b\u0443\u0447\u0430\u044f\u0445, \u043a\u043e\u0433\u0434\u0430 \u0431\u044b\u043b\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0438\u043b\u0438 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 DOM-\u043e\u0431\u044a\u0435\u043a\u0442.<\/u>   <\/li>\n<\/ul>\n<h3>console.timeEnd(name)<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u00b1<br \/>  \u041e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0442\u0430\u0439\u043c\u0435\u0440, \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0439 \u043a <b>name.toString()<\/b>.<\/p>\n<h3>console.timeStamp(name)<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u2212 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u2212<br \/>  \u0412\u044b\u0432\u043e\u0434\u0438\u0442 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 timestamp \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b\u043b \u043f\u0435\u0440\u0435\u0434\u0430\u043d \u0432 <b>name<\/b>.<br \/>  Opera \u0432\u044b\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443, \u0435\u0441\u043b\u0438 \u043d\u0430\u0442\u044b\u043a\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0443 \u0441 <b>console.timeStamp()<\/b>; Chrome \u0438 Firefox \u2014 \u0438\u0445 \u043f\u0440\u043e\u0441\u0442\u043e \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044e\u0442.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">console.timeStamp(); console.time('\u043c\u043e\u0439 \u0442\u0430\u0439\u043c\u0435\u0440'); (function someFunction() {for (i=0;i&lt;1000000;i++) {var s='a'; s+='a'; delete s;}})() console.time('\u043c\u043e\u0439 \u0432\u0442\u043e\u0440\u043e\u0439 \u0442\u0430\u0439\u043c\u0435\u0440'); (function someFunction() {for (i=0;i&lt;1000000;i++) {var s='a'; s+='a'; delete s;}})() console.timeEnd('\u043c\u043e\u0439 \u0432\u0442\u043e\u0440\u043e\u0439 \u0442\u0430\u0439\u043c\u0435\u0440'); (function someFunction() {for (i=0;i&lt;1000000;i++) {var s='a'; s+='a'; delete s;}})() console.timeEnd('\u043c\u043e\u0439 \u0442\u0430\u0439\u043c\u0435\u0440'); console.timeStamp('\u0432\u0442\u043e\u0440\u043e\u0439 \u0442\u0430\u0439\u043c\u0441\u0442\u0430\u043c\u043f'); console.time(12); (function someFunction() {for (i=0;i&lt;1000000;i++) {var s='a'; s+='a'; delete s;}})() console.timeEnd(12); console.time(document.getElementsByTagName('script')); (function someFunction() {for (i=0;i&lt;1000000;i++) {var s='a'; s+='a'; delete s;}})() console.timeEnd(document.getElementsByTagName('body')); console.time(1,2,3); \/\/ \u043c\u043d\u043e\u0433\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 (function someFunction() {for (i=0;i&lt;1000000;i++) {var s='a'; s+='a'; delete s;}})() console.timeEnd(1,3,2); console.time(); \/\/ \u0431\u0435\u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 (function someFunction() {for (i=0;i&lt;1000000;i++) {var s='a'; s+='a'; delete s;}})() console.timeEnd(); console.timeStamp('\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0442\u0430\u0439\u043c\u0441\u0442\u0430\u043c\u043f');<\/code><\/pre>\n<p>\u0414\u043b\u044f \u0442\u0435\u0441\u0442\u043e\u0432 Opera \u0441\u0442\u0440\u043e\u043a\u0438 \u0441 timeStamp \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0437\u0430\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/523\/f30\/281\/523f302812f1f51722a11f377cde675c.png\" alt=\"console.time\"\/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3><a name=\"trace\"><\/a>console.trace()<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>\u00b1 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>\u00b1<br \/>  \u0412\u044b\u0432\u043e\u0434\u0438\u0442 \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 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u0434\u0430 (\u043e\u043d \u0442\u0430\u043a \u0436\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u043f\u0440\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u0445 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435).<br \/>  \u041d\u0435 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432.  <\/p>\n<ul>\n<li>Firefox \u2014 \u0432\u043c\u0435\u0441\u0442\u043e \u0441\u0442\u0435\u043a\u0430 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0443 \u0433\u0434\u0435 \u043a\u043e\u0434 \u0431\u044b\u043b \u0432\u044b\u0437\u0432\u0430\u043d + \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0432\u044b\u0437\u0432\u0430\u0432\u0448\u0435\u0439 \u0435\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u0438.<\/li>\n<li>Opera \u2014 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0432\u0435\u0441\u044c\u043c\u0430 \u0441\u0442\u0440\u0430\u043d\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c.<\/li>\n<\/ul>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">console.trace(); (function firstlevel () {     (function secondlevel () {         (function lastlevel () {             console.trace('\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0441\u0442\u044d\u043a\u0430');         })();     })(); })();<\/code><\/pre>\n<p>   <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/1f1\/6e5\/15e\/1f16e515e4ce75c5248fff4d69a67d35.png\" alt=\"console.trace\"\/><\/div>\n<\/div>\n<p>  <\/div>\n<\/div>\n<h3><a name=\"warn\"><\/a>console.warn(object[, object, &#8230;])<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>+ <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>+<br \/>  \u041a\u0430\u043a \u0438 <a href=\"#info\">console.info<\/a>, \u0432\u044b\u0432\u043e\u0434\u0438\u0442 <a href=\"#log\">console.log<\/a> \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c\u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438.<br \/>  <b>!<\/b> \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f <a href=\"#patterns\">\u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b<\/a> \u043a\u0430\u043a \u0432 <a href=\"#log\">console.log<\/a>  <\/p>\n<ul>\n<li>Chrome \u2014 \u0441\u0442\u0430\u0432\u0438\u0442 \u0438\u043a\u043e\u043d\u043a\u0443 \u0441 \u0432\u043e\u0441\u043a\u043b\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0437\u043d\u0430\u043a\u043e\u043c \u0441\u043b\u0435\u0432\u0430 \u043e\u0442 \u0432\u044b\u0432\u043e\u0434\u0430.<\/li>\n<li>Firebug \u2014 \u0441\u0442\u0430\u0432\u0438\u0442 \u0438\u043a\u043e\u043d\u043a\u0443 \u0441 \u0436\u0451\u043b\u0442\u044b\u043c \u0432\u043e\u0441\u043a\u043b\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0437\u043d\u0430\u043a\u043e\u043c \u0441\u043b\u0435\u0432\u0430 \u043e\u0442 \u0432\u044b\u0432\u043e\u0434\u0430, \u043f\u043e\u0434\u0441\u0432\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u0443 \u0436\u0451\u043b\u0442\u044b\u043c.<\/li>\n<li>Firefox \u2014 \u0441\u0442\u0430\u0432\u0438\u0442 \u0438\u043a\u043e\u043d\u043a\u0443 \u0441 \u0432\u043e\u0441\u043a\u043b\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0437\u043d\u0430\u043a\u043e\u043c \u0432 \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0435 \u0441\u043b\u0435\u0432\u0430 \u043e\u0442 \u0432\u044b\u0432\u043e\u0434\u0430.<\/li>\n<li>Opera \u2014 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043e\u0440\u0430\u043d\u0436\u0435\u0432\u044b\u043c \u0442\u0435\u043a\u0441\u0442\u043e\u043c.<\/li>\n<\/ul>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0440\u0438\u043c\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"javascript\">var a = '\u043e\u0434\u0438\u043d \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442'; console.info(a); console.info('\u043c\u043d\u043e\u0433\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432', 12, true, [1,2,3], {a:1,b:2}); console.info('Node', document.getElementsByTagName('body')); console.info('DOM', document); console.info('\u0444\u0443\u043d\u043a\u0446\u0438\u044f', alert); console.info('\u043f\u0440\u043e\u0447\u0435\u0435', NaN, null, undefined); console.info('\u0423 \u041f\u0435\u0442\u0438 \u0431\u044b\u043b\u043e %d %s',10,'\u044f\u0431\u043b\u043e\u043a');<\/code><\/pre>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u044b<\/b><\/p>\n<div class=\"spoiler_text\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/6fc\/528\/b0c\/6fc528b0c4c4cd8bb49701512dcb3d4e.png\" alt=\"console.warn\"\/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>  Console \u2014 \u043e\u0447\u0435\u043d\u044c \u043c\u043e\u0449\u043d\u044b\u0439 \u0438 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u0432\u0435\u0431-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430. \u0421\u043e\u0432\u0435\u0442\u0443\u044e \u0437\u0430\u043f\u043e\u043c\u043d\u0438\u0442\u044c \u0445\u043e\u0442\u044f \u0431\u044b \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0442\u0435\u0437\u0438\u0441\u044b:  <\/p>\n<ul>\n<li><a href=\"#log\">console.log<\/a> \u043c\u043e\u0436\u043d\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c!<\/li>\n<li>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e <a href=\"#log\">console.log<\/a>, \u043d\u043e \u0442\u0430\u043a\u0436\u0435 <a href=\"#warn\">console.warn<\/a> \u0438 <a href=\"#info\">console.info<\/a>. \u0413\u0440\u0430\u043c\u043e\u0442\u043d\u044b\u0439 \u0432\u044b\u0431\u043e\u0440 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u044d\u0442\u0438\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0431\u0443\u0434\u0435\u0442 \u0432\u0435\u0441\u044c\u043c\u0430 \u043f\u0440\u0438\u044f\u0442\u043d\u043e\u0439 \u043c\u0435\u043b\u043e\u0447\u044c\u044e, \u043f\u043e\u0432\u044b\u0448\u0430\u044e\u0449\u0435\u0439 \u0443\u0434\u043e\u0432\u043e\u043b\u044c\u0441\u0442\u0432\u0438\u0435 \u043e\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0432\u0430\u0448\u0438\u043c \u043a\u043e\u0434\u043e\u043c.<\/li>\n<li>\u0418\u043d\u043e\u0433\u0434\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u0435\u0435 \u043e\u0442\u043b\u043e\u0432\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443 \u0438 \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0435\u0451 \u0432 \u043e\u0431\u044a\u0435\u043a\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u0436\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 <a href=\"#error\">console.error<\/a> (\u0441 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438), \u0447\u0435\u043c \u0432\u044b\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0442\u044c \u0435\u0451 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0432 \u0441\u0442\u0435\u043a.<\/li>\n<li>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435 \u043f\u0440\u043e \u0433\u0440\u0443\u043f\u043f\u044b! \u041e\u043d\u0438 \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u044b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c <a href=\"#group\">console.groupCollapsed<\/a> \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 <a href=\"#info\">console.info<\/a>\/<a href=\"#log\">console.log<\/a> \u043f\u043e\u0441\u043b\u0435 \u2014 \u0435\u0441\u043b\u0438 \u043d\u0430\u0434\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u043a\u0430\u043a\u0443\u044e-\u0442\u043e \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443. \u0418 <a href=\"#group\">console.group<\/a> \u0441 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c\u0438 <a href=\"#warn\">console.warn<\/a>\/<a href=\"#error\">console.error<\/a> \u2014 \u0435\u0441\u043b\u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430.<\/li>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 <a href=\"#profile\">console.profile<\/a>, \u0430 \u0442\u0430\u043c, \u0433\u0434\u0435 \u044d\u0442\u043e \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, <a href=\"#time\">console.time<\/a> \u2014 \u0434\u043b\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0432\u043e\u0435\u0433\u043e \u043a\u043e\u0434\u0430.<\/li>\n<\/ul>\n<h2>\u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u0441\u044b\u043b\u043a\u0438<\/h2>\n<p>  <\/p>\n<ul>\n<li><a href=\"https:\/\/getfirebug.com\/wiki\/index.php\/Console_API\" title=\"\u0443\u043d\u044b\u043b\u044b\u0439 \u043f\u0443\u0441\u0442\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\">\u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/a><\/li>\n<li><a href=\"http:\/\/firebug.ru\/console.html\" title=\"\u0435\u0449\u0451 \u0431\u043e\u043b\u0435\u0435 \u0443\u043d\u044b\u043b\u044b\u0439, \u043d\u043e \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c\">\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u0441 \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u043f\u043e\u0440\u0442\u0430\u043b\u0430 \u043e firebug<\/a><\/li>\n<li><a href=\"https:\/\/developers.google.com\/chrome-developer-tools\/docs\/console-api\" title=\"\u041b\u0443\u0447\u0448\u0435\u0435 \u0438\u0437 \u0432\u0441\u0435\u0433\u043e \u0447\u0442\u043e \u0435\u0441\u0442\u044c\">\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043f\u043e Chrome console API<\/a><\/li>\n<li><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/console\" title=\"\u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f\">\u0425\u043e\u0440\u043e\u0448\u0430\u044f \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043f\u043e \u043f\u043b\u043e\u0445\u043e\u043c\u0443 Firefox Web console<\/a><\/li>\n<li><a href=\"http:\/\/www.opera.com\/dragonfly\/documentation\/console\/\" title=\"\u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f\">\u041a\u0440\u043e\u0448\u0435\u0447\u043d\u0430\u044f \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043f\u043e Opera Dragonfly console API<\/a><\/li>\n<li><a href=\"http:\/\/habrahabr.ru\/post\/114483\/\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u043d\u0430 \u043f\u043e\u043b\u043d\u0443\u044e<\/a> \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u0445\u043e\u0440\u043e\u0448\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u043e\u0442 <a href=\"http:\/\/habrahabr.ru\/users\/barmaley_exe\/\" class=\"user_link\">barmaley_exe<\/a><\/li>\n<li><a href=\"http:\/\/habrahabr.ru\/post\/50445\/\">Firebug: Part 1 \u2014 console<\/a>, <a href=\"http:\/\/habrahabr.ru\/post\/50619\/\">Firebug: Part 2 \u2014 commands<\/a>, <a href=\"http:\/\/habrahabr.ru\/post\/50930\/\">Firebug: Part 3 \u2014 debugging<\/a> \u0438 <a href=\"http:\/\/habrahabr.ru\/post\/51113\/\">Firebug: Part 4 \u2014 profiling<\/a> \u2014 \u0446\u0438\u043a\u043b \u0441\u0442\u0430\u0442\u0435\u0439 \u043e\u0442 2009 \u0433\u043e\u0434\u0430, \u0437\u0430 \u0430\u0432\u0442\u043e\u0440\u0441\u0442\u0432\u043e\u043c <a href=\"http:\/\/habrahabr.ru\/users\/xxxyuraxxx\/\" class=\"user_link\">xxxyuraxxx<\/a><\/li>\n<\/ul>\n<p>  <\/p>\n<hr\/>\n<p>&nbsp;&nbsp;*&nbsp;&nbsp;\u0421\u043a\u043e\u0440\u0435\u0435 \u00abCommon Console API\u00bb \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u0435\u0442\u043e\u0434\u044b Firebug \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0445\u0443\u0436\u0435 \u0447\u0435\u043c Chrome.<br \/>  **&nbsp;&nbsp;\u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0438\u0437-\u0437\u0430 <b>toString<\/b> \u043c\u0435\u0442\u043e\u0434 \u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442 \u0432\u044b\u0437\u043e\u0432\u044b \u0441 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c <b>document.getElementsByTagName(&#8216;script&#8217;)<\/b> \u043e\u0442 \u0432\u044b\u0437\u043e\u0432\u043e\u0432 \u0441 <b>document.getElementsByTagName(&#8216;body&#8217;)<\/b> \u0438 \u0442.\u043f.    \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\/188066\/\"> http:\/\/habrahabr.ru\/post\/188066\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">\n<h2>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h2>\n<p>  <\/p>\n<blockquote><p>Firebug \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u00abconsole\u00bb \u043a \u043a\u0430\u0436\u0434\u043e\u0439 \u0432\u0435\u0431-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435, \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u043e\u0439 \u0432 Firefox. \u042d\u0442\u043e\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043c\u043d\u043e\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u043e\u0437\u0432\u043e\u043b\u044f\u0442 \u0412\u0430\u043c \u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0430 \u043a\u043e\u043d\u0441\u043e\u043b\u044c Firebug \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0449\u0443\u044e \u0447\u0435\u0440\u0435\u0437 \u0441\u043a\u0440\u0438\u043f\u0442\u044b.<\/p><\/blockquote>\n<p><a href=\"http:\/\/firebug.ru\/console.html\">firebug.ru<\/a><\/p>\n<p>  \u041a \u043d\u0430\u0448\u0435\u043c\u0443 \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e firebug \u043e\u0431\u043b\u0430\u0434\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043e\u043c:  <\/p>\n<ul>\n<li>Chrome Javascript console \u2014 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0442\u043e\u0447\u043d\u044b\u0439 \u0430\u043d\u0430\u043b\u043e\u0433<\/li>\n<li>Opera Dragonfly console \u2014 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e<\/li>\n<li>Firefox Web console \u2014 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e<\/li>\n<\/ul>\n<p>  \u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u2014 \u043c\u0430\u043d\u0443\u0430\u043b \u043f\u043e Console API.<br \/>  \u041f\u0440\u0438\u043c\u0435\u0440\u044b \u0434\u0430\u043d\u044b \u0438\u0437 <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/191\/52a\/e22\/19152ae2215b845668828b863974f81c.png\" alt=\"chrome\"\/>Chrome 28.0.1500.72 m, <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f53\/032\/a92\/f53032a9245d768b96207ac636709378.png\" alt=\"firebug\"\/>Firebug 1.11.3, <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2c0\/8e0\/200\/2c08e0200e558fc05c07eacd3bda4fd8.png\" alt=\"firefox\"\/>Firefox 22.0, <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/c02\/2c3\/567\/c022c35677f826580e87871fbeebffe9.png\" alt=\"opera\"\/>Opera 12.15 (\u0432\u0435\u0440\u0441\u0438\u044f \u0434\u043e \u0443\u0445\u043e\u0434\u0430 \u0441 presto)  <\/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-188066","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/188066","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=188066"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/188066\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=188066"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=188066"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=188066"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}