{"id":253302,"date":"2015-03-18T10:57:02","date_gmt":"2015-03-18T06:57:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=253302"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=253302","title":{"rendered":"\u0421\u043f\u0440\u0430\u0432\u043e\u0447\u043d\u0438\u043a \u043c\u0435\u0442\u043e\u0434\u043e\u0432 console \u0432 JS"},"content":{"rendered":"<p>     \t<nobr><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/8b7\/63a\/c96\/8b763ac961ce48c89a6a153ca83c023e.png\" align=\"right\"\/><\/nobr>\u0421\u043e \u0432\u0440\u0435\u043c\u0451\u043d \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 console \u043f\u0440\u043e\u0448\u043b\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u044e\u0449\u0438\u0445 \u0440\u0430\u043d\u0435\u0435 \u043c\u0435\u0442\u043e\u0434\u043e\u0432. \u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441 \u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0447\u0438\u043a\u043e\u0432, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u2014 \u043f\u043e\u0447\u0435\u043c\u0443 \u0431\u044b \u0435\u0451 \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c, \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0432 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f\u043c\u0438?<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<table>\n<tr>\n<th><\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/3d7\/e4d\/9bc\/3d7e4d9bc2073de27509d28332e3514b.png\"\/> Chrome<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/1c4\/f1f\/80e\/1c4f1f80e15f1c7e80bac85502d49c05.png\"\/> Firebug<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/2f9\/9c7\/b64\/2f99c7b644597b049351bd3cb42c5b4e.png\"\/> Firefox<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/2fc\/64f\/49c\/2fc64f49ce69a57d73b25cb9810d79c9.png\"\/>&nbsp;IE<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/ca9\/330\/c3a\/ca9330c3aafda6e333e55e04a7de2569.png\"\/> Node.js<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/844\/dec\/8fc\/844dec8fcccb2ecb8c3357e7f76865bd.png\"\/> Safari<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/404\/e0d\/99d\/404e0d99db9f10d769c503b046c87b02.png\"\/> <abbr title=\"ver. 12.15\">Opera<\/abbr><\/th>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">assert(expression[, object, &#8230;])<\/b><\/p>\n<div class=\"spoiler_text\">\u0415\u0441\u043b\u0438 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 expression \u043b\u043e\u0436\u043d\u043e, \u0432\u044b\u0432\u043e\u0434\u0438\u0442 console.error, \u0438\u043d\u0430\u0447\u0435 \u2014 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Console\/assert\">\u2713<\/a> <font color=\"#999999\">(28.0+)<\/font><\/td>\n<td>&nbsp; <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/ie\/hh772171%28v=vs.85%29.aspx\">\u2713<\/a><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; <abbr title=\"\u0435\u0441\u043b\u0438 expression == false, \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043a\u0430\u043a console.log\">\u00b1<\/abbr><\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">clear()<\/b><\/p>\n<div class=\"spoiler_text\">\u041e\u0447\u0438\u0449\u0430\u0435\u0442 \u043e\u043a\u043d\u043e \u043a\u043e\u043d\u0441\u043e\u043b\u0438.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>&nbsp; <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/ie\/jj152131%28v=vs.85%29.aspx\">\u2713<\/a><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">count([object])<\/b><\/p>\n<div class=\"spoiler_text\">\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 object \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 object.toString()**.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Console\/count\">\u2713<\/a> <font color=\"#999999\">(30.0+)<\/font><\/td>\n<td>&nbsp; <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/ie\/dn265064%28v=vs.85%29.aspx\">\u2713<\/a><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>&nbsp; \u2713<\/td>\n<td><abbr title=\"\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442 \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b; \u043d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u0441\u0441\u044b\u043b\u043a\u0443\">\u00b1 &#8230;<\/abbr><\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">debug(object[, object, &#8230;])<\/b><\/p>\n<div class=\"spoiler_text\">\u042d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442 console.log \u0434\u043b\u044f \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438 \u0441\u043e \u0441\u0442\u0430\u0440\u044b\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u043c \u043e\u0431\u044a\u0435\u043a\u0442\u0430 console, \u043a\u043e\u0433\u0434\u0430 .debug \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 \u043a\u043e\u0434\u0430, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043e\u043d \u0431\u044b\u043b \u0432\u044b\u0437\u0432\u0430\u043d.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><i><font color=\"#999999\">&nbsp;&nbsp;&nbsp;\u0440\u0430\u0432\u043d\u043e .log()<\/font><\/i><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/ie\/dn265066%28v=vs.85%29.aspx\">\u2713<\/a><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>&nbsp; \u2713<\/td>\n<td><abbr title=\"\u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b\">\u00b1 &#8230;<\/abbr><\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">dir(object)<\/b><\/p>\n<div class=\"spoiler_text\"><i>object<\/i> \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \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\u0441\u0435 \u0438\u0445 \u0430\u0442\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u0438 \u043c\u0435\u0442\u043e\u0434\u044b). \u041f\u043e\u0445\u043e\u0436\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 %O \u0432 console.log \u0432 Chrome.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Console\/dir\">\u2713<\/a> <font color=\"#999999\">(8+)<\/font><\/td>\n<td><a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/ie\/jj152132%28v=vs.85%29.aspx\">\u2713<\/a> <font color=\"#999999\">(9+)<\/font><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; <abbr title=\"\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0431\u043e\u043b\u0435\u0435 1 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430\">\u2713<\/abbr><\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">dirxml(object)<\/b><\/p>\n<div class=\"spoiler_text\">\u0412\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f XML-\u043a\u043e\u0434 \u043e\u0431\u044a\u0435\u043a\u0442\u0430.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/ie\/dn265067%28v=vs.85%29.aspx\">\u2713<\/a> <font color=\"#999999\">(11+)<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>&nbsp; \u2713<\/td>\n<td><abbr title=\"\u0435\u0441\u043b\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u044b - \u043d\u0435 DOM, \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043d\u0430 \u043d\u0438\u0445 \u0441\u0441\u044b\u043b\u043a\u0443; \u0431\u0430\u0433 \u043f\u0440\u0438 2 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u0445\">\u00b1 &#8230;<\/abbr><\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">error(object[, object, &#8230;])<\/b><\/p>\n<div class=\"spoiler_text\">\u0412\u044b\u0432\u043e\u0434\u0438\u0442 \u043e\u0448\u0438\u0431\u043a\u0443 \u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 console.trace \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 (\u043d\u0435 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b). \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b(%s, %d (%i), %f, %o, %O, %c), \u043a\u0430\u043a \u0432 console.log.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&nbsp; \u2713<\/td>\n<td><abbr title=\"\u0442\u0440\u0430\u0441\u0441\u0438\u0440\u0443\u0435\u0442, \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\">\u00b1 &#8230;<\/abbr><\/td>\n<td><abbr title=\"\u043d\u0435 \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u0443\u0435\u0442 (\u043d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 console.trace)\">\u00b1 &#8230;<\/abbr><\/td>\n<td><a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/ie\/hh772176%28v=vs.85%29.aspx\">\u2713<\/a> <font color=\"#999999\">(8+)<\/font><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td><abbr title=\"\u043d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442 console.trace\">\u00b1 &#8230;<\/abbr><\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">exception(object[, object, &#8230;])<\/b><\/p>\n<div class=\"spoiler_text\">\u042d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442 error()<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><i><font color=\"#999999\">&nbsp;&nbsp;\u0440\u0430\u0432\u043d\u043e .error()<\/font><\/i><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Console\/error\">\u2713<\/a> <font color=\"#999999\">(28+)<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">group(object[, object, &#8230;])<\/b><\/p>\n<div class=\"spoiler_text\">\u041d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0440\u0430\u0437\u0432\u0451\u0440\u043d\u0443\u0442\u0443\u044e \u0433\u0440\u0443\u043f\u043f\u0443 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0437\u0430\u0442\u0435\u043c \u043c\u043e\u0436\u0435\u0442 \u0441\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f. \u0413\u0440\u0443\u043f\u043f\u0430 \u043e\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 .groupEnd(). \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b (\u0441\u043c. <i>.log()<\/i>).<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td><abbr title=\"\u0441\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0433\u0440\u0443\u043f\u043f\u0443 \u043d\u0435\u043b\u044c\u0437\u044f\">\u00b1 &#8230;<\/abbr><\/td>\n<td><a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/ie\/dn265068%28v=vs.85%29.aspx\">\u2713<\/a> <font color=\"#999999\">(11+)<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>\u2713 <font color=\"#999999\">(4+)<\/font><\/td>\n<td>&nbsp; \u2713<\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">groupCollapsed(object[, object, &#8230;])<\/b><\/p>\n<div class=\"spoiler_text\">\u041d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0441\u0432\u0451\u0440\u043d\u0443\u0442\u0443\u044e \u0433\u0440\u0443\u043f\u043f\u0443 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0437\u0430\u0442\u0435\u043c \u043c\u043e\u0436\u0435\u0442 \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f. \u0413\u0440\u0443\u043f\u043f\u0430 \u043e\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 .groupEnd(). \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b (\u0441\u043c. <i>.log()<\/i>).<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td><abbr title=\"\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0433\u0440\u0443\u043f\u043f\u0430 \u0440\u0430\u0437\u0432\u0451\u0440\u043d\u0443\u0442\u0430 \u0438 \u0441\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043d\u0435\u043b\u044c\u0437\u044f (\u0440\u0430\u0432\u043d\u043e\u0441\u0438\u043b\u044c\u043d\u0430 .group())\">\u00b1 &#8230;<\/abbr> <font color=\"#999999\">(9+)<\/font><\/td>\n<td><a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/ie\/dn265069%28v=vs.85%29.aspx\">\u2713<\/a> <font color=\"#999999\">(11+)<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>&nbsp; \u2713 <font color=\"#999999\">(5.1+)<\/font><\/td>\n<td>&nbsp; \u2713<\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">groupEnd()<\/b><\/p>\n<div class=\"spoiler_text\">\u041e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u043a\u043e\u043d\u0435\u0446 \u0433\u0440\u0443\u043f\u043f\u044b.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; <a href=\"https:\/\/getfirebug.com\/wiki\/index.php\/Console.groupEnd\">\u2713<\/a><\/td>\n<td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Console\/groupEnd\">\u2713<\/a> <font color=\"#999999\">(9+)<\/font><\/td>\n<td><a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/ie\/dn265070%28v=vs.85%29.aspx\">\u2713<\/a> <font color=\"#999999\">(11+)<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>&nbsp; \u2713 <font color=\"#999999\">(4+)<\/font><\/td>\n<td>&nbsp; \u2713<\/td>\n<\/tr>\n<tr>\n<th><\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/3d7\/e4d\/9bc\/3d7e4d9bc2073de27509d28332e3514b.png\"\/> Chrome<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/1c4\/f1f\/80e\/1c4f1f80e15f1c7e80bac85502d49c05.png\"\/> Firebug<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/2f9\/9c7\/b64\/2f99c7b644597b049351bd3cb42c5b4e.png\"\/> Firefox<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/2fc\/64f\/49c\/2fc64f49ce69a57d73b25cb9810d79c9.png\"\/> IE<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/ca9\/330\/c3a\/ca9330c3aafda6e333e55e04a7de2569.png\"\/> Node.js<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/844\/dec\/8fc\/844dec8fcccb2ecb8c3357e7f76865bd.png\"\/> Safari<\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/404\/e0d\/99d\/404e0d99db9f10d769c503b046c87b02.png\"\/> <abbr title=\"ver. 12.15\">Opera<\/abbr><\/th>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">info(object[, object, &#8230;])<\/b><\/p>\n<div class=\"spoiler_text\">\u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u0430 .log(), \u043d\u043e \u043e\u0444\u043e\u0440\u043c\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u0438\u043d\u043e\u043c \u0434\u0438\u0437\u0430\u0439\u043d\u0435, \u0434\u043b\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u0435\u043d\u0438\u044f \u0442\u0438\u043f\u043e\u0432 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u0433\u0440\u0430\u0434\u0430\u0446\u0438\u0438 \u0432\u0430\u0436\u043d\u043e\u0441\u0442\u0438 \u0438\u043b\u0438 \u0434\u043b\u044f \u0438\u043d\u043e\u0433\u043e \u0441\u043c\u044b\u0441\u043b\u043e\u0432\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u044b \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439. \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b (\u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0432 <i>.log()<\/i>).<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">log(object[, object, &#8230;])<\/b><\/p>\n<div class=\"spoiler_text\">\u0412\u044b\u0432\u043e\u0434\u0438\u0442 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c, \u0440\u0430\u0437\u0434\u0435\u043b\u044f\u044f \u043f\u0440\u043e\u0431\u0435\u043b\u0430\u043c\u0438. \u0421\u0430\u043c\u0430\u044f \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0430\u044f \u0438\u0437 \u043a\u043e\u043c\u0430\u043d\u0434 console.<\/p>\n<p>  \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b \u2014 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0438\u043c\u0435\u043d\u0430 \u0432 \u043f\u0435\u0440\u0432\u043e\u043c \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0435, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0435, \u0447\u0442\u043e \u0435\u0433\u043e \u043d\u0430\u0434\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u0448\u0430\u0431\u043b\u043e\u043d, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u0432\u043c\u0435\u0441\u0442\u043e \u0442\u0435\u0440\u043c\u043e\u0432 (\u043a\u0430\u043a \u0432 printf() \u043d\u0430 \u0421, \u043d\u043e \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0449\u0435). \u041f\u0440\u0438\u043c\u0435\u0440\u044b:<\/p>\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<p>  \u0412\u0438\u0434\u044b \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u043e\u0432 \u0438 \u0442\u0438\u043f \u0434\u0430\u043d\u043d\u043e\u0433\u043e, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u0433\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430:<br \/>  <b>%s<\/b> \u2014 \u0441\u0442\u0440\u043e\u043a\u0430.<br \/>  <b>%d<\/b> \u0438\u043b\u0438 <b>%i<\/b> \u2014 \u0447\u0438\u0441\u043b\u043e.<br \/>  <b>%f<\/b> \u2014 \u0447\u0438\u0441\u043b\u043e \u0441 \u043f\u043b\u0430\u0432\u0430\u044e\u0449\u0435\u0439 \u0442\u043e\u0447\u043a\u043e\u0439 (Firebug \u0442\u043e\u0436\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442).<br \/>  <b>%o<\/b> \u2014 DOM-\u044d\u043b\u0435\u043c\u0435\u043d\u0442 (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. Chrome, \u043a\u0440\u043e\u043c\u0435 \u0441\u0441\u044b\u043b\u043a\u0438, \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438. 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 (\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)).<br \/>  <b>%O<\/b> \u2014 JS-\u043e\u0431\u044a\u0435\u043a\u0442 (\u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 Firefox; Chrome \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u0442 DOM-\u043e\u0431\u044a\u0435\u043a\u0442 \u0432 js-\u043e\u0431\u044a\u0435\u043a\u0442 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0430; Firebug \u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442 %o \u043e\u0442 %O).<br \/>  <b>%c<\/b> \u2014 CSS-\u0441\u0442\u0438\u043b\u044c (color, background, font, &#8230;; \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 Firefox).<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td>&nbsp; &nbsp; <i><font color=\"#aa6699\">(\u0432\u0430\u0436\u043d\u043e)<\/font><\/i><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td><abbr title=\"\u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b\">\u00b1 &#8230;<\/abbr><\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">markTimeline()<\/b><\/p>\n<div class=\"spoiler_text\">\u0410\u043d\u0430\u043b\u043e\u0433 .timeStamp() \u0434\u043b\u044f Safari, \u043d\u043e \u0432 \u043d\u0451\u043c .timeStamp() \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u0438 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><i><font color=\"#999999\">&nbsp;=.timeStamp()<\/font><\/i><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>&nbsp; \u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">profile([label])<\/b><\/p>\n<div class=\"spoiler_text\"><a href=\"https:\/\/developer.chrome.com\/devtools\/docs\/console-api#consoleprofile\">\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 Javascript-\u043f\u0440\u043e\u0444\u0430\u0439\u043b\u0435\u0440<\/a>, \u0437\u0430\u0442\u0435\u043c \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u043e\u0434 \u0438\u043c\u0435\u043d\u0435\u043c \u00ablabel\u00bb.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td><abbr title=\"\u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0430 \u043f\u0430\u043d\u0435\u043b\u044c Dev. Tools\">(devtools)<\/abbr><\/td>\n<td>\u2713 <font color=\"#999999\">(10+)<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>&nbsp; \u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">profileEnd()<\/b><\/p>\n<div class=\"spoiler_text\">\u0412\u044b\u043a\u043b\u044e\u0447\u0430\u0435\u0442 Javascript-\u043f\u0440\u043e\u0444\u0430\u0439\u043b\u0435\u0440.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td><abbr title=\"\u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0430 \u043f\u0430\u043d\u0435\u043b\u044c Dev. Tools\">(devtools)<\/abbr><\/td>\n<td>\u2713 <font color=\"#999999\">(10+)<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td>&nbsp; \u2713<\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">table(data[, columns])<\/b><\/p>\n<div class=\"spoiler_text\">\u0414\u0432\u0443\u043c\u0435\u0440\u043d\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0447\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u2014 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b. Data \u2014 \u043c\u0430\u0441\u0441\u0438\u0432 \u0438\u043b\u0438 \u043e\u0431\u044a\u0435\u043a\u0442 (\u0438\u043b\u0438 \u043e\u0431\u044a\u0435\u043a\u0442 \u0438\u0437 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u043e\u0431\u044a\u0435\u043a\u0442 \u0438\u0437 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432), \u043a\u0430\u0436\u0434\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u0443\u0434\u0435\u0442 \u0441\u0442\u0440\u043e\u043a\u043e\u0439 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435. \u041f\u0435\u0440\u0432\u044b\u0439 \u0441\u0442\u043e\u043b\u0431\u0435\u0446 \u0434\u0432\u0443\u043c\u0435\u0440\u043d\u043e\u0433\u043e \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0431\u0443\u0434\u0435\u0442 \u0435\u0433\u043e \u0438\u043d\u0434\u0435\u043a\u0441\u043e\u043c (\u043e\u0442 0). \u0418\u043b\u0438, \u0435\u0441\u043b\u0438 \u044d\u0442\u043e \u2014 \u043e\u0431\u044a\u0435\u043a\u0442, \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u0442\u043e\u043b\u0431\u0435\u0446 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0441\u0442\u043e\u044f\u0442\u044c \u0438\u0437 \u043a\u043b\u044e\u0447\u0435\u0439 \u043e\u0431\u044a\u0435\u043a\u0442\u0430. \u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0437 Firefox (\u043e\u0431\u044a\u0435\u043a\u0442 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432):<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/e00\/b6b\/85d\/e00b6b85da16e663e206d18eb9ec5f27.png\"\/><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; <a href=\"http:\/\/www.softwareishard.com\/blog\/firebug\/tabular-logs-in-firebug\/\">\u2713<\/a><\/td>\n<td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Console\/table\">\u2713<\/a> <font color=\"#999999\">(34.0+)<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">time(label)<\/b><\/p>\n<div class=\"spoiler_text\">\u0412\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0441\u0447\u0451\u0442\u0447\u0438\u043a (\u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434) \u043f\u043e\u0434 \u0438\u043c\u0435\u043d\u0435\u043c label.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&nbsp; \u2713<\/td>\n<td><a href=\"https:\/\/getfirebug.com\/wiki\/index.php\/Console.time\">\u2713<\/a><\/td>\n<td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Console\/time\">\u2713<\/a> <font color=\"#999999\">(10+)<\/font><\/td>\n<td>\u2713 <font color=\"#999999\">(11+)<\/font><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>\u2713 <font color=\"#999999\">(4+)<\/font><\/td>\n<td>&nbsp; <abbr title=\"\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442 \u0432\u044b\u0437\u043e\u0432\u044b \u0431\u0435\u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432\">\u00b1<\/abbr><\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">timeEnd(label)<\/b><\/p>\n<div class=\"spoiler_text\">\u041e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0441\u0447\u0451\u0442\u0447\u0438\u043a (\u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434) \u043f\u043e\u0434 \u0438\u043c\u0435\u043d\u0435\u043c label \u0438 \u043f\u0443\u0431\u043b\u0438\u043a\u0443\u0435\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u043e\u0434 \u044d\u0442\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c. \u041f\u0440\u0438\u043c\u0435\u0440 (\u0425\u0440\u043e\u043c):<br \/>  <img decoding=\"async\" src=\"https:\/\/developer.chrome.com\/devtools\/docs\/console-files\/time-duration.png\"\/><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; <a href=\"http:\/\/www.stoimen.com\/blog\/2010\/02\/02\/firebugs-console-time-accuracy\/\">\u2713<\/a><\/td>\n<td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Console\/timeEnd\">\u2713<\/a> <font color=\"#999999\">(10+)<\/font><\/td>\n<td>\u2713 <font color=\"#999999\">(11+)<\/font><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>\u2713 <font color=\"#999999\">(4+)<\/font><\/td>\n<td>&nbsp; <abbr title=\"\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442 \u0432\u044b\u0437\u043e\u0432\u044b \u0431\u0435\u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432\">\u00b1<\/abbr><\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">timeStamp([label])<\/b><\/p>\n<div class=\"spoiler_text\">\u041e\u0442\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0432\u0430\u0435\u0442 \u043c\u0435\u0442\u043a\u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0435 \u0442\u0430\u0439\u043c\u0438\u043d\u0433\u043e\u0432 \u0441\u043a\u0440\u0438\u043f\u0442\u0430, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043b\u0435\u0434\u0438\u0442\u044c \u0437\u0430 \u0434\u0438\u043d\u0430\u043c\u0438\u043a\u043e\u0439 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u041f\u0440\u0438\u043c\u0435\u0440 (Firebug):<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/25e\/589\/78d\/25e58978d986761ce31f442896df9c40.png\"\/><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; <a href=\"http:\/\/www.softwareishard.com\/blog\/firebug\/firebug-1-8-console-timestamp\/\">\u2713<\/a><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><font color=\"#ff6666\">-\u229d-<\/font><\/td>\n<td><abbr title=\"\u0432\u044b\u0431\u0440\u043e\u0441 \u043e\u0448\u0438\u0431\u043a\u0438\"><font color=\"#ff6666\">-\u229d-<\/font><\/abbr><\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">trace()<\/b><\/p>\n<div class=\"spoiler_text\">\u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0441\u0442\u0435\u043a \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f (\u0442\u043e \u0436\u0435, \u0447\u0442\u043e \u043e\u0431\u044b\u0447\u043d\u043e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043d\u0430 \u043c\u0435\u0441\u0442\u0435 \u043e\u0448\u0438\u0431\u043a\u0438). \u041f\u0440\u0438\u043c\u0435\u0440 \u0432 Safari (\u0432 \u0431\u043e\u043a\u043e\u0432\u043e\u0439 \u043f\u0430\u043d\u0435\u043b\u0438), \u0432 \u0425\u0440\u043e\u043c\u0435 (\u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438):<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/35d\/9b2\/65d\/35d9b265d50da60662ad4af666d8df11.png\" width=\"288\"\/> <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/3c2\/0af\/87a\/3c20af87a0a84d05aa7db1a3c9d14098.png\"\/><br \/>  \u0412 Firefox:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/e61\/050\/6e4\/e610506e4506829cf809cd64bd9902ee.png\"\/><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Console\/trace\">\u2713<\/a> <font color=\"#999999\">(10+)<\/font><\/td>\n<td>\u2713 <font color=\"#999999\">(11+)<\/font><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>\u2713 <font color=\"#999999\">(7.0.1+)<\/font><\/td>\n<td><abbr title=\"\u043d\u0430 \u0433\u0440\u0430\u043d\u0438 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0441\u0442\u0438\">\u00b1 &#8230;<\/abbr><\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">warn(object[, object, &#8230;])<\/b><\/p>\n<div class=\"spoiler_text\">\u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u0430 .log() \u0438 .info(), \u043d\u043e \u043e\u0444\u043e\u0440\u043c\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u0438\u043d\u043e\u043c \u0434\u0438\u0437\u0430\u0439\u043d\u0435, \u0434\u043b\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u0435\u043d\u0438\u044f \u0442\u0438\u043f\u043e\u0432 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439. \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b (\u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0432 <i>.log()<\/i>).<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">debugger;<\/b><\/p>\n<div class=\"spoiler_text\">\u041e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 Javascript \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0441\u0442\u0440\u043e\u043a\u0435. \u0420\u0430\u0432\u043d\u043e\u0441\u0438\u043b\u0435\u043d \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0442\u043e\u0447\u043a\u0438 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0430 (breakpoint) \u0432 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u0435. \u041a\u0440\u043e\u043c\u0435 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438, \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u043e\u0442\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435.<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<td><i><font color=\"#999999\">&nbsp;&nbsp;(\u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440)<\/font><\/i><\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<td>&nbsp; \u2713<\/td>\n<\/tr>\n<tr>\n<td colspan=\"8\">\n<div class=\"spoiler\"><b class=\"spoiler_title\">throw new Error(&#39;mesasge&#39;);<\/b><\/p>\n<div class=\"spoiler_text\">\u041e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 Javascript \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0441\u0442\u0440\u043e\u043a\u0435, \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435. <i>(\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432\u0441\u0435\u043c\u0438 \u0441\u0440\u0435\u0434\u0430\u043c\u0438 \u0438\u0441\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f Javascript.)<\/i><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<tr>\n<th><\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/3d7\/e4d\/9bc\/3d7e4d9bc2073de27509d28332e3514b.png\"\/> <a href=\"https:\/\/developer.chrome.com\/devtools\/docs\/console-api\">Chrome<\/a><\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/1c4\/f1f\/80e\/1c4f1f80e15f1c7e80bac85502d49c05.png\"\/> <a href=\"https:\/\/getfirebug.com\/wiki\/index.php\/Console_API\">Firebug<\/a><\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/2f9\/9c7\/b64\/2f99c7b644597b049351bd3cb42c5b4e.png\"\/> <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Console\">Firefox<\/a><\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/2fc\/64f\/49c\/2fc64f49ce69a57d73b25cb9810d79c9.png\"\/> <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/ie\/hh772169%28v=vs.85%29.aspx\">IE<\/a><\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/ca9\/330\/c3a\/ca9330c3aafda6e333e55e04a7de2569.png\"\/> <a href=\"https:\/\/nodejs.org\/api\/console.html\">Node.js<\/a><\/th>\n<th><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/844\/dec\/8fc\/844dec8fcccb2ecb8c3357e7f76865bd.png\"\/> <a href=\"https:\/\/developer.apple.com\/library\/mac\/documentation\/AppleApplications\/Conceptual\/Safari_Developer_Guide\/Console\/Console.html#\/\/apple_ref\/doc\/uid\/TP40007874-CH6-SW3\">Safari<\/a><\/th>\n<th><abbr title=\"ver. 12.15\"><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/404\/e0d\/99d\/404e0d99db9f10d769c503b046c87b02.png\"\/> <a href=\"http:\/\/www.opera.com\/dragonfly\/documentation\/console\/\">Opera<\/a><\/abbr><\/th>\n<\/tr>\n<\/table>\n<p>  \u2022 <a href=\"https:\/\/developer.chrome.com\/devtools\/docs\/console-api\">Console API Reference for Chrome<\/a><br \/>  \u2022 <a href=\"https:\/\/getfirebug.com\/wiki\/index.php\/Console_API\">Console API in Firebug<\/a><br \/>  \u2022 <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/Console\">Console object (MDN)<\/a><br \/>  \u2022 <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/ie\/hh772169%28v=vs.85%29.aspx\">Console object in IE10 (MSDN)<\/a><br \/>  \u2022 <a href=\"https:\/\/nodejs.org\/api\/console.html\">in Node.js v0.12.0<\/a><br \/>  \u2022 <a href=\"https:\/\/developer.apple.com\/library\/mac\/documentation\/AppleApplications\/Conceptual\/Safari_Developer_Guide\/Console\/Console.html#\/\/apple_ref\/doc\/uid\/TP40007874-CH6-SW3\">\u2026 in Safari Web Inspector Guide<\/a><br \/>  \u2022 <a href=\"http:\/\/www.opera.com\/dragonfly\/documentation\/console\/\">Console in Opera Dragonfly<\/a><\/p>\n<p>  \u2022 <a href=\"http:\/\/habrahabr.ru\/post\/114483\/\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c console \u043d\u0430 \u043f\u043e\u043b\u043d\u0443\u044e<\/a><br \/>  \u2022 <a href=\"http:\/\/habrahabr.ru\/post\/202394\/\">\u041f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u0430\u044f JavaScript \u043e\u0442\u043b\u0430\u0434\u043a\u0430 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 console.table()<\/a><br \/>  \u2022 <a href=\"http:\/\/habrahabr.ru\/post\/109046\/\">\u0420\u0435\u043b\u0438\u0437 Firebug 1.6<\/a> (console.table)<br \/>  \u2022 <a href=\"https:\/\/msdn.microsoft.com\/library\/gg589530\">Using the F12 Tools Console to View Errors and Status<\/a> (MSDN)<\/p>\n<p>  \u2022 <a href=\"http:\/\/habrahabr.ru\/post\/188066\/\">FireBug* Console API<\/a> \u2014 \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0442\u043e\u043d\u043a\u043e\u0441\u0442\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438, \u0437\u0430\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0435 \u0432 \u0442\u0435\u0441\u0442\u0430\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432 2013 \u0433;<br \/>  \u2022 <a href=\"http:\/\/habrahabr.ru\/post\/198372\/\">API \u043a\u043e\u043d\u0441\u043e\u043b\u0438 Javascript<\/a>      \t<\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/253359\/\"> http:\/\/habrahabr.ru\/post\/253359\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>     \t<nobr><img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/8b7\/63a\/c96\/8b763ac961ce48c89a6a153ca83c023e.png\" align=\"right\"\/><\/nobr>\u0421\u043e \u0432\u0440\u0435\u043c\u0451\u043d \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 console \u043f\u0440\u043e\u0448\u043b\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u044e\u0449\u0438\u0445 \u0440\u0430\u043d\u0435\u0435 \u043c\u0435\u0442\u043e\u0434\u043e\u0432. \u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441 \u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0447\u0438\u043a\u043e\u0432, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u2014 \u043f\u043e\u0447\u0435\u043c\u0443 \u0431\u044b \u0435\u0451 \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c, \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0432 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f\u043c\u0438?  <\/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-253302","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/253302","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=253302"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/253302\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=253302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=253302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=253302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}