
{"id":9667,"date":"2025-07-11T17:40:29","date_gmt":"2025-07-11T08:40:29","guid":{"rendered":"https:\/\/techmania.jp\/blog\/?p=9667"},"modified":"2025-07-11T17:40:37","modified_gmt":"2025-07-11T08:40:37","slug":"javascript-consolelog","status":"publish","type":"post","link":"https:\/\/techmania.jp\/blog\/javascript-consolelog\/","title":{"rendered":"\u3010JavaScript\u5165\u9580\u3011console.log\u3067\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u5024\u3092\u51fa\u529b\u3059\u308b"},"content":{"rendered":"\n<p>JavaScript\u3067\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u3059\u308b\u3068\u304d\u3001\u30c7\u30d0\u30c3\u30b0\u4f5c\u696d\u306b\u5fc5\u305a\u3068\u8a00\u3063\u3066\u3044\u3044\u307b\u3069\u6d3b\u7528\u3055\u308c\u308b\u306e\u304cconsole.log\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u3001console.log\u30e1\u30bd\u30c3\u30c9\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u5177\u4f53\u7684\u306a\u6d3b\u7528\u65b9\u6cd5\u3001\u305d\u306e\u4ed6\u306econsole\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30e1\u30bd\u30c3\u30c9\u306a\u3069\u3068\u5408\u308f\u305b\u3066\u89e3\u8aac\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__1\" class=\"wp-block-heading\">JavaScript\u306econsole.log\u3068\u306f\uff1f<\/h2>\n\n\n\n<p>console.log\u306f\u3001\u5909\u6570\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u5024\u3084\u4efb\u610f\u306e\u6587\u5b57\u5217\u306a\u3069\u3092\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u51fa\u529b\u3059\u308b\u305f\u3081\u306e\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002<br>\u4e3b\u306b\u30c7\u30d0\u30c3\u30b0\u306e\u904e\u7a0b\u306b\u304a\u3044\u3066\u3001\u5024\u304c\u60f3\u5b9a\u901a\u308a\u306b\u306a\u3063\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306e\u7d50\u679c\u8868\u793a\u3084\u3001\u4e0d\u5177\u5408\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306e\u30a8\u30e9\u30fc\u5185\u5bb9\u306e\u8868\u793a\u306e\u305f\u3081\u306b\u6d3b\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u8a18\u8ff0\u65b9\u6cd5\u306f\u6bd4\u8f03\u7684\u7c21\u5358\u3067\u3042\u308a\u306a\u304c\u3089\u3001\u4f7f\u7528\u983b\u5ea6\u306e\u9ad8\u3044\u6a5f\u80fd\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__1_1\" class=\"wp-block-heading\">\u30d6\u30e9\u30a6\u30b6\u306e\u958b\u767a\u8005\u30c4\u30fc\u30eb\u3067\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u8868\u793a\u3057\u3066\u307f\u3088\u3046<\/h3>\n\n\n\n<p>\u30b3\u30f3\u30bd\u30fc\u30eb\u8868\u793a\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u958b\u767a\u8005\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>Google Chrome \u3084 Firefox\u3001Safari \u306a\u3069\u69d8\u3005\u306a\u30d6\u30e9\u30a6\u30b6\u3067\u540c\u7b49\u306e\u6a5f\u80fd\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u899a\u3048\u3066\u304a\u304f\u3068\u4fbf\u5229\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001\u4e2d\u3067\u3082 Web\u958b\u767a\u3067\u3088\u304f\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b Google Chrome \u3067\u306e\u8868\u793a\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3001\u89e3\u8aac\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br>\uff08\u3044\u305a\u308c\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u3082\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u8868\u793a\u3059\u308b\u307e\u3067\u306e\u57fa\u672c\u7684\u306a\u6d41\u308c\u306f\u307b\u3068\u3093\u3069\u5909\u308f\u308a\u307e\u305b\u3093\uff09<\/p>\n\n\n\n<p>\u307e\u305a\u3001Google Chrome\u306e\u30d6\u30e9\u30a6\u30b6\u753b\u9762\u3092\u8d77\u52d5\u3057\u305f\u3089\u3001\u53f3\u4e0a\u306b\u3042\u308b\u300c\ufe19\u300d &gt; \u300c\u305d\u306e\u4ed6\u306e\u30c4\u30fc\u30eb\u300d &gt; \u300c\u30c7\u30d9\u30ed\u30c3\u30d1\u30fc\u30c4\u30fc\u30eb\u300d\u306e\u9806\u306b\u9078\u629e\u3057\u3066\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/images\/console_log1.png\" class=\"post-img\">\n\n\n\n<p>\u30c7\u30d9\u30ed\u30c3\u30d1\u30c4\u30fc\u30eb\u3092\u958b\u304f\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br>\u9078\u629e\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f \u300cConsole\u300d \u3092\u9078\u629e\u3057\u3066\u30b3\u30f3\u30bd\u30fc\u30eb\u753b\u9762\u306b\u5207\u308a\u66ff\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/images\/console_log2.png\" class=\"post-img\">\n\n\n\n<p>\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u3001\u78ba\u8a8d\u3057\u305f\u3044\u5185\u5bb9\u304c\u542b\u307e\u308c\u3066\u3044\u308b HTML\u30d5\u30a1\u30a4\u30eb\u3092\u30d6\u30e9\u30a6\u30b6\u306b\u30c9\u30e9\u30c3\u30b0&amp;\u30c9\u30ed\u30c3\u30d7\u3057\u3001\u5b9f\u969b\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br>\u5b9f\u884c\u5185\u5bb9\u306b\u57fa\u3065\u3044\u3066\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u90e8\u5206\u306b\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__2\" class=\"wp-block-heading\">console.log\u306e\u4f7f\u3044\u65b9<\/h2>\n\n\n\n<p>\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u8868\u793a\u65b9\u6cd5\u3092\u78ba\u8a8d\u3057\u305f\u3068\u3053\u308d\u3067\u3001console.log\u30e1\u30bd\u30c3\u30c9\u306e\u5177\u4f53\u7684\u306a\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u3082\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 id=\"outline__2_1\" class=\"wp-block-heading\">\u57fa\u672c\u69cb\u6587\u3068\u4f7f\u3044\u65b9<\/h3>\n\n\n\n<p>console.log\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u969b\u306f\u3001\u5f15\u6570\u306b\u8868\u793a\u3057\u305f\u3044\u5185\u5bb9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<br>\u4ee5\u4e0b\u306f\u3001\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u969b\u306e\u57fa\u672c\u69cb\u6587\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u69cb\u6587\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>console.log(\u8868\u793a\u5185\u5bb9);<\/code><\/pre><\/div>\n\n\n\n<p>\u307e\u305a\u306f\u3001\u8a66\u3057\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001\u5148\u307b\u3069\u89e3\u8aac\u3057\u305f\u30d6\u30e9\u30a6\u30b6\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u8868\u793a\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<br>\uff08\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u76f4\u63a5\u6253\u3061\u8fbc\u3080\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\uff09<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>console.log(&#39;Hello, World!&#39;);<\/code><\/pre><\/div>\n\n\n\n<p>\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u6307\u5b9a\u3057\u305f\u6587\u5b57\u5217\u304c\u8868\u793a\u3055\u308c\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>Hello, World!<\/code><\/pre><\/div>\n\n\n\n<p>\u307e\u305f\u3001console.log\u30e1\u30bd\u30c3\u30c9\u3067\u306f\u8907\u6570\u306e\u5f15\u6570\u3092\u53d6\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u6307\u5b9a\u3057\u305f\u9806\u306b\u5024\u304c\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<br>\u95a2\u9023\u3059\u308b\u8907\u6570\u306e\u30c7\u30fc\u30bf\u3092\u4e00\u5ea6\u306b\u78ba\u8a8d\u3057\u305f\u3044\u3068\u304d\u306a\u3069\u306b\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const str = &#39;Hello World!&#39;;\nconst num = 10;\n\nconsole.log(str, num);<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>Hello World! 10<\/code><\/pre><\/div>\n\n\n\n<h3 id=\"outline__2_2\" class=\"wp-block-heading\">console.log\u3067Object\u3084\u914d\u5217\u306e\u4e2d\u8eab\u3092\u51fa\u529b\u3059\u308b<\/h3>\n\n\n\n<p>console.log\u30e1\u30bd\u30c3\u30c9\u3067\u306f\u3001\u5358\u7d14\u306a\u6587\u5b57\u5217\u3084\u6570\u5024\u306a\u3069\u306b\u9650\u3089\u305a\u3001\u914d\u5217\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306a\u3069\u3082\u8868\u793a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const numArray = [1, 2, 3, 4, 5];\n\nconst user = {\n    name: &#39;\u5c71\u7530\u592a\u90ce&#39;,\n    age: 18\n};\n\nconsole.log(numArray);\nconsole.log(user);<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>[1, 2, 3, 4, 5]\n{name: &#39;\u5c71\u7530\u592a\u90ce&#39;, age: 18}<\/code><\/pre><\/div>\n\n\n\n<p>\u914d\u5217\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5834\u5408\u306f\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u4e0a\u3067\u4e2d\u8eab\u3092\u5c55\u958b\u3057\u3001\u5024\u3084\u8981\u7d20\u6570\u3001\u6216\u3044\u306f\u30c7\u30fc\u30bf\u578b\u306a\u3069\u306e\u7d30\u304b\u3044\u60c5\u5831\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/images\/console_log3.png\" class=\"post-img\">\n\n\n\n<img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/images\/console_log4.png\" class=\"post-img\">\n\n\n\n<h3 id=\"outline__2_3\" class=\"wp-block-heading\">\u7f6e\u63db\u6587\u5b57\u5217\u3067\u5909\u6570\u3084\u4efb\u610f\u306e\u5024\u3092\u633f\u5165\u3059\u308b<\/h3>\n\n\n\n<p>\u5148\u307b\u3069\u307e\u3067\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001\u5024\u3092\u305d\u306e\u307e\u307e\u30e1\u30bd\u30c3\u30c9\u306e\u5f15\u6570\u306b\u6307\u5b9a\u3057\u3066\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u8868\u793a\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u6587\u5b57\u5217\u5185\u306e\u4efb\u610f\u306e\u4f4d\u7f6e\u306b\u57cb\u3081\u8fbc\u3093\u3067\u8868\u793a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5909\u6570\u306a\u3069\u306e\u5024\u3092\u6587\u5b57\u5217\u306b\u57cb\u3081\u8fbc\u3080\u65b9\u6cd5\u306f\u3044\u304f\u3064\u304b\u5b58\u5728\u3057\u307e\u3059\u3002<br>1\u3064\u306f\u3001\u6587\u5b57\u5217\u9023\u7d50\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u306f\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const str = &#39;\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9&#39;;\n\nconsole.log(&#39;str: &#39; + str);<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>str: \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/code><\/pre><\/div>\n\n\n\n<p>\u6587\u5b57\u5217\u9023\u7d50\u306f\u3001\u8a08\u7b97\u5f0f\u306e\u3088\u3046\u306b\u76f4\u611f\u7684\u306b\u6587\u5b57\u5217\u3068\u5024\u3092\u7e4b\u3052\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u306e\u304c\u7279\u5fb4\u3067\u3059\u3002<br>\u4e00\u65b9\u3067\u3001\u57cb\u3081\u8fbc\u3080\u4f4d\u7f6e\u3084\u6570\u306e\u591a\u3055\u306b\u3088\u3063\u3066\u306f\u30b3\u30fc\u30c9\u304c\u5197\u9577\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u30c7\u30e1\u30ea\u30c3\u30c8\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>2\u3064\u76ee\u306f\u3001\u66f8\u5f0f\u6307\u5b9a\u5b50\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<br>\u57cb\u3081\u8fbc\u3080\u5024\u306e\u30c7\u30fc\u30bf\u578b\u306b\u5bfe\u5fdc\u3059\u308b\u6307\u5b9a\u5b50\u3092\u3001\u6587\u5b57\u5217\u5185\u306e\u7f6e\u63db\u3057\u305f\u3044\u4f4d\u7f6e\u306b\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3067\u8868\u793a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const name = &#39;\u5c71\u7530\u592a\u90ce&#39;;\nconst age = 18;\n\nconsole.log(&#39;\u5f7c\u306e\u540d\u524d\u306f %s \u3067\u3059\u3002\u5e74\u9f62\u306f %d \u6b73\u3067\u3059\u3002&#39;, name, age);<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>\u5f7c\u306e\u540d\u524d\u306f \u5c71\u7530\u592a\u90ce \u3067\u3059\u3002\u5e74\u9f62\u306f 18 \u6b73\u3067\u3059\u3002<\/code><\/pre><\/div>\n\n\n\n<p>\u4e0a\u8a18\u306e\u4f8b\u306e\u5834\u5408\u3001\u300c%s\u300d \u3068 \u300c\uff05d\u300d \u304c\u66f8\u5f0f\u6307\u5b9a\u5b50\u306b\u3042\u305f\u308a\u307e\u3059\u3002<br>\u6587\u5b57\u5217\u3067\u3042\u308c\u3070 %s\u3001\u6574\u6570\u3067\u3042\u308c\u3070 %d \u3068\u3044\u3063\u305f\u3088\u3046\u306b\u3001\u30c7\u30fc\u30bf\u578b\u306b\u5408\u308f\u305b\u305f\u6307\u5b9a\u5b50\u3092\u57cb\u3081\u8fbc\u307f\u305f\u3044\u4f4d\u7f6e\u306b\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3067\u3001\u5f15\u6570\u306b\u6e21\u3057\u305f\u5024\u3068\u7f6e\u63db\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>3\u3064\u76ee\u306f\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30ea\u30c6\u30e9\u30eb\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30ea\u30c6\u30e9\u30eb\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001\u6587\u5b57\u5217\u5168\u4f53\u3092\u30d0\u30c3\u30af\u30af\u30a9\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\uff08`\uff09\u3067\u56f2\u3044\u307e\u3059\u3002<br>\u5024\u3092\u57cb\u3081\u8fbc\u307f\u305f\u3044\u5834\u6240\u306b \u300c${}\u300d \u3092\u8a18\u8ff0\u3057\u3001\u305d\u306e\u4e2d\u306b\u5909\u6570\u3084\u5024\u3092\u5165\u308c\u308b\u3053\u3068\u3067\u3001\u6587\u5b57\u5217\u306b\u7f6e\u63db\u3055\u308c\u305f\u72b6\u614b\u3067\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const name = &#39;\u4f50\u85e4\u82b1\u5b50&#39;;\nconst age = 20;\n\nconsole.log(`\u5f7c\u5973\u306e\u540d\u524d\u306f ${name} \u3067\u3059\u3002\u5e74\u9f62\u306f ${age} \u6b73\u3067\u3059\u3002`);<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>\u5f7c\u5973\u306e\u540d\u524d\u306f \u4f50\u85e4\u82b1\u5b50 \u3067\u3059\u3002\u5e74\u9f62\u306f 20 \u6b73\u3067\u3059\u3002<\/code><\/pre><\/div>\n\n\n\n<p>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30ea\u30c6\u30e9\u30eb\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u3001\u5909\u6570\u3060\u3051\u3067\u306a\u304f\u8a08\u7b97\u5f0f\u306a\u3069\u3092\u76f4\u63a5\u66f8\u304d\u8fbc\u3080\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<br>\u307e\u305f\u3001${}\u5185\u306b\u5024\u3092\u8a18\u8ff0\u3059\u308b\u305f\u3081\u3001\u7f6e\u63db\u3055\u308c\u308b\u4f4d\u7f6e\u304c\u8996\u899a\u7684\u306b\u628a\u63e1\u3057\u3084\u3059\u3044\u30e1\u30ea\u30c3\u30c8\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__3\" class=\"wp-block-heading\">&#8220;console.log&#8221;\u4ee5\u5916\u306eConsole API\u7528\u30e1\u30bd\u30c3\u30c9\u4e00\u89a7<\/h2>\n\n\n\n<p>\u3053\u3053\u307e\u3067\u3001console.log\u30e1\u30bd\u30c3\u30c9\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u3066\u304d\u307e\u3057\u305f\u304c\u3001console\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u306f\u4ed6\u306b\u3082\u69d8\u3005\u306a\u30e1\u30bd\u30c3\u30c9\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e00\u822c\u7684\u306b\u3088\u304f\u4f7f\u7528\u3055\u308c\u308b\u4e3b\u306a\u30e1\u30bd\u30c3\u30c9\u3092\u3001\u4ee5\u4e0b\u306e\u8868\u306b\u307e\u3068\u3081\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<style>\n    table.referrence {\n        border: 2px solid rgb(140 140 140);\n        border-collapse: collapse;\n        table-layout: auto;\n        width: 100%\n    }\n\n    th {\n        background-color: #B8CCE4 !important;\n        color: #000 !important;\n        text-align: center !important;\n    }\n\n    th,\n    td {\n        border: 1px solid rgb(160 160 160) !important;\n        padding: 1%;\n        background: #FFF\n    }\n\n    td:nth-last-child(n+2) {\n        text-align: center;\n    }\n<\/style>\n<table class=\"referrence\">\n    <thead>\n        <tr>\n            <th>\u30e1\u30bd\u30c3\u30c9\u540d<\/th>\n            <th>\u8aac\u660e<\/th>\n        <\/tr>\n    <\/thead>\n    <tbody>\n        <tr>\n            <td>console.log()<\/td>\n            <td>\u4efb\u610f\u306e\u5024\u3092\u30c7\u30d0\u30c3\u30af\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u51fa\u529b\u3059\u308b<\/td>\n        <\/tr>\n        <tr>\n            <td>console.clear()<\/td>\n            <td>\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u30ea\u30bb\u30c3\u30c8\u3059\u308b<\/td>\n        <\/tr>\n        <tr>\n            <td>console.warn()<\/td>\n            <td>\u5f15\u6570\u306b\u6e21\u3057\u305f\u5024\u3092\u8b66\u544a\u30e1\u30c3\u30bb\u30fc\u30b8\u3068\u3057\u3066\u51fa\u529b\u3059\u308b<\/td>\n        <\/tr>\n        <tr>\n            <td>console.error()<\/td>\n            <td>\u5f15\u6570\u306b\u6e21\u3057\u305f\u5024\u3092\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3068\u3057\u3066\u51fa\u529b\u3059\u308b<\/td>\n        <\/tr>\n        <tr>\n            <td>console.assert()<\/td>\n            <td>\u5224\u5b9a\u5f0f\u304cfalse\u306e\u5834\u5408\u306b\u3001\u5f15\u6570\u306e\u5024\u3092\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3068\u3057\u3066\u51fa\u529b\u3059\u308b<\/td>\n        <\/tr>\n        <tr>\n            <td>console.count()<\/td>\n            <td>\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3057\u305f\u56de\u6570\u3092\u30ab\u30a6\u30f3\u30c8\u3057\u3066\u51fa\u529b\u3059\u308b<\/td>\n        <\/tr>\n        <tr>\n            <td>console.time()<\/td>\n            <td>\u30bf\u30a4\u30de\u30fc\u3092\u8d77\u52d5\u3057\u3001timeEnd()\u3067\u7d42\u4e86\u3059\u308b\u307e\u3067\u306e\u6642\u9593\u3092\u8a08\u6e2c\u3059\u308b<\/td>\n        <\/tr>\n        <tr>\n            <td>console.dir()<\/td>\n            <td>DOM\u8981\u7d20\u3092JSON\u5f62\u5f0f\u3067\u51fa\u529b\u3059\u308b\uff08log()\u306e\u5834\u5408\u306fHTML\u5f62\u5f0f\uff09<\/td>\n        <\/tr>\n        <tr>\n            <td>console.table()<\/td>\n            <td>\u914d\u5217\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u30c6\u30fc\u30d6\u30eb\u5f62\u5f0f\u3067\u51fa\u529b\u3059\u308b<\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n\n\n\n<p>\u305d\u308c\u305e\u308c\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u8b66\u544a\u30e1\u30c3\u30bb\u30fc\u30b8\u3084\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8996\u899a\u7684\u306b\u5206\u304b\u308a\u3084\u3059\u304f\u8868\u793a\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u308a\u3001\u5024\u306e\u8868\u793a\u3060\u3051\u3067\u306a\u304f\u51e6\u7406\u6642\u9593\u306e\u8a08\u6e2c\u3092\u884c\u306a\u3063\u305f\u308a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u9069\u5207\u306a\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3046\u3053\u3068\u306f\u4f5c\u696d\u306e\u52b9\u7387\u5316\u306b\u3082\u7e4b\u304c\u308b\u305f\u3081\u3001\u305c\u3072\u899a\u3048\u3066\u4f7f\u3044\u5206\u3051\u3092\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3 id=\"outline__3_1\" class=\"wp-block-heading\">console.count\u3067\u30e1\u30bd\u30c3\u30c9\u304c\u547c\u3073\u51fa\u3055\u308c\u305f\u56de\u6570\u3092\u51fa\u529b\u3059\u308b<\/h3>\n\n\n\n<p>console.count\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30e1\u30bd\u30c3\u30c9\u304c\u547c\u3073\u51fa\u3055\u308c\u305f\u56de\u6570\u3092\u30ab\u30a6\u30f3\u30c8\u3057\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>console.log\u30e1\u30bd\u30c3\u30c9\u3067\u540c\u7b49\u306e\u51e6\u7406\u3092\u3059\u308b\u5834\u5408\u3001\u30ab\u30a6\u30f3\u30c8\u7528\u306e\u5909\u6570\u3092\u7528\u610f\u3057\u305f\u4e0a\u3067\u5024\u3092\u5909\u52d5\u3055\u305b\u308b\u305f\u3081\u306e\u51e6\u7406\u3092\u8a18\u8ff0\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u304c\u3001\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u547c\u3073\u51fa\u3057\u3092\u884c\u3046\u3060\u3051\u3067\u51e6\u7406\u304c\u4f55\u56de\u5b9f\u884c\u3055\u308c\u305f\u306e\u304b\u3092\u78ba\u8a8d\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f7f\u7528\u3059\u308b\u969b\u306e\u57fa\u672c\u69cb\u6587\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u69cb\u6587\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>console.count(\u30e9\u30d9\u30eb\u540d);<\/code><\/pre><\/div>\n\n\n\n<p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3067\u3001\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u306f \u300c\u30e9\u30d9\u30eb\u540d:\u5b9f\u884c\u56de\u6570\u300d \u3068\u3044\u3063\u305f\u5f62\u5f0f\u3067\u30ab\u30a6\u30f3\u30c8\u6570\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>for(let i=0; i&lt;5; i++) {\n    console.count(&#39;count&#39;);\n}<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>count: 1\ncount: 2\ncount: 3\ncount: 4\ncount: 5<\/code><\/pre><\/div>\n\n\n\n<p>\u5b9f\u884c\u7d50\u679c\u3092\u898b\u308b\u3068\u3001for\u6587\u3067\u30eb\u30fc\u30d7\u3059\u308b\u3054\u3068\u306b\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u8868\u793a\u3055\u308c\u308b\u6570\u304c1\u305a\u3064\u5897\u3048\u3066\u3044\u308b\u306e\u304c\u5206\u304b\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001console.count\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u5f15\u6570\u306e\u4e2d\u8eab\u3092\u78ba\u8a8d\u305b\u305a\u3068\u3082\u3001\u4f55\u3092\u51e6\u7406\u3059\u308b\u30b3\u30fc\u30c9\u306a\u306e\u304b\u304c\u4e00\u76ee\u3067\u5206\u304b\u308b\u3088\u3046\u306b\u3082\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30e1\u30bd\u30c3\u30c9\u306e\u5f15\u6570\u306b\u6e21\u3059\u30e9\u30d9\u30eb\u540d\u3092\u5909\u66f4\u3059\u308b\u3068\u5225\u3005\u306e\u30ab\u30a6\u30f3\u30bf\u30fc\u3068\u3057\u3066\u56de\u6570\u304c\u8a08\u6e2c\u3055\u308c\u308b\u305f\u3081\u3001\u51e6\u7406\u5185\u5bb9\u306b\u3088\u3063\u3066\u8907\u6570\u306e\u30ab\u30a6\u30f3\u30bf\u30fc\u3092\u4f7f\u3044\u5206\u3051\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>for (let i=0; i&lt;5; i++) {\n    console.count(&#39;roopCount&#39;);\n\n    if(i % 2 == 0) {\n        console.count(&#39;evenNum&#39;);\n    }\n}<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>loopCount: 1\nevenNum: 1\nloopCount: 2\nloopCount: 3\nevenNum: 2\nloopCount: 4\nloopCount: 5\nevenNum: 3<\/code><\/pre><\/div>\n\n\n\n<p>\u5404\u30eb\u30fc\u30d7\u3054\u3068\u306b\u300cloopCount\u300d\u30e9\u30d9\u30eb\u3067\u30eb\u30fc\u30d7\u56de\u6570\u3092\u30ab\u30a6\u30f3\u30c8\u3057\u3001\u5909\u6570 i \u306e\u5024\u304c\u5076\u6570\u306e\u5834\u5408\u306b \u300cevenNum\u300d\u30e9\u30d9\u30eb\u3067\u5225\u9014\u56de\u6570\u3092\u30ab\u30a6\u30f3\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5b9f\u884c\u7d50\u679c\u3092\u898b\u308b\u3068\u3001\u305d\u308c\u305e\u308c\u306e\u30e9\u30d9\u30eb\u3067\u5225\u3005\u306b\u30ab\u30a6\u30f3\u30c8\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u5206\u304b\u308a\u307e\u3059\u306d\u3002<br>\u3053\u306e\u3088\u3046\u306b\u3001\u30e9\u30d9\u30eb\u306b\u3088\u3063\u3066\u30ab\u30a6\u30f3\u30bf\u30fc\u3092\u4f7f\u3044\u5206\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__3_2\" class=\"wp-block-heading\">console.time\u3067\u51e6\u7406\u306b\u8981\u3057\u305f\u6642\u9593\u3092\u8a08\u6e2c\u3059\u308b<\/h3>\n\n\n\n<p>console.time\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u7279\u5b9a\u306e\u51e6\u7406\u304c\u5b8c\u4e86\u3059\u308b\u307e\u3067\u306b\u3069\u306e\u3050\u3089\u3044\u306e\u6642\u9593\u304c\u7d4c\u904e\u3057\u305f\u304b\u3092\u8a08\u6e2c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>console.time\u306f\u3042\u304f\u307e\u3067\u30bf\u30a4\u30de\u30fc\u3092\u8d77\u52d5\u3055\u305b\u308b\u30e1\u30bd\u30c3\u30c9\u306e\u305f\u3081\u3001\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u30bf\u30a4\u30de\u30fc\u3092\u7d42\u4e86\u3055\u305b\u308b\u5f79\u5272\u3092\u6301\u3064 console.timeEnd \u30e1\u30bd\u30c3\u30c9\u3068\u5408\u308f\u305b\u3066\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u969b\u306e\u57fa\u672c\u69cb\u6587\u306f\u3001\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u69cb\u6587\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>console.time(\u30e9\u30d9\u30eb\u540d);\n\/\/ \u51e6\u7406\u5185\u5bb9\nconsole.timeEnd(\u30e9\u30d9\u30eb\u540d);<\/code><\/pre><\/div>\n\n\n\n<p>console.time\u30e1\u30bd\u30c3\u30c9\u3068 console.timeEnd\u30e1\u30bd\u30c3\u30c9\u3082\u307e\u305f\u3001\u30e9\u30d9\u30eb\u540d\u306b\u3088\u3063\u3066\u5404\u30bf\u30a4\u30de\u30fc\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u3001\u4f7f\u7528\u306e\u969b\u306f\u540c\u3058\u30e9\u30d9\u30eb\u540d\u3092\u5f15\u6570\u306b\u6e21\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u3001\u5b9f\u969b\u306e\u52d5\u304d\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>let result = 0;\nconsole.time(&#39;additionLoop&#39;);\n\nfor (let i=0; i&lt;1000; i++) {\n    result += i;\n}\nconsole.timeEnd(&#39;additionLoop&#39;);<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>[4.45ms] additionLoop<\/code><\/pre><\/div>\n\n\n\n<p>for\u6587\u306e\u524d\u5f8c\u306b\u30e1\u30bd\u30c3\u30c9\u3092\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3067\u3001\u5168\u3066\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u304c\u5b8c\u4e86\u3059\u308b\u307e\u3067\u306b\u304b\u304b\u308b\u6642\u9593\u3092\u8a08\u6e2c\u3057\u3066\u3044\u307e\u3059\u3002<br>\u8a08\u6e2c\u3057\u305f\u6642\u9593\u306f\u3001timeEnd\u30e1\u30bd\u30c3\u30c9\u3092\u5b9f\u884c\u3057\u305f\u6bb5\u968e\u3067\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u306a\u304a\u3001\u51e6\u7406\u9014\u4e2d\u306e\u6642\u9593\u7d4c\u904e\u3082\u5408\u308f\u305b\u3066\u8868\u793a\u3057\u305f\u3044\u5834\u5408\u306f\u3001console.timeLog\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u8868\u793a\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>let result = 0;\n\nconsole.time(&#39;additionLoop&#39;);\n\nfor (let i=0; i&lt;10; i++) {\n    result += i;\n    console.timeLog(&#39;additionLoop&#39;);\n}\nconsole.timeEnd(&#39;additionLoop&#39;);<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>[0.32ms] additionLoop\n[2.60ms] additionLoop\n[3.05ms] additionLoop\n[3.13ms] additionLoop\n[3.50ms] additionLoop\n[3.80ms] additionLoop\n[4.31ms] additionLoop\n[4.57ms] additionLoop\n[4.66ms] additionLoop\n[4.73ms] additionLoop\n[4.96ms] additionLoop<\/code><\/pre><\/div>\n\n\n\n<h3 id=\"outline__3_3\" class=\"wp-block-heading\">console.dir\u3067\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u69cb\u9020\u3092\u51fa\u529b\u3059\u308b<\/h3>\n\n\n\n<p>\u300cJavaScript\u3067\u53d6\u5f97\u3057\u305f DOM\u8981\u7d20\u306e\u5185\u5bb9\u3092\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u8868\u793a\u3057\u305f\u3044\u300d \u3068\u3044\u3063\u305f\u5834\u5408\u306b\u6d3b\u7528\u3067\u304d\u308b\u306e\u304cconsole.dir\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u540c\u3058 DOM\u8981\u7d20\u3092\u8868\u793a\u3059\u308b\u5834\u5408\u306b\u3001console.log \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3068 HTML\u5f62\u5f0f\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001console.dir\u30e1\u30bd\u30c3\u30c9\u3067\u306f JSON \u5f62\u5f0f\u3067\u7d30\u304b\u3044\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5185\u5bb9\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u8a66\u3057\u306b\u3001 <a href=\"https:\/\/www.example.com\/\">example.com<\/a> \u306e body \u90e8\u5206\u3092 console.log \u30e1\u30bd\u30c3\u30c9\u3067\u8868\u793a\u3057\u305f\u5834\u5408\u3068 console.dir \u30e1\u30bd\u30c3\u30c9\u3067\u8868\u793a\u3057\u305f\u5834\u5408\u3067\u3001\u7d50\u679c\u3092\u898b\u6bd4\u3079\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p><strong>\u3010console.log\u306e\u5834\u5408\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-html\" data-lang=\"HTML\"><code>&lt;body cz-shortcut-listen=&quot;true&quot;&gt;\n&lt;div&gt;\n    &lt;h1&gt;Example Domain&lt;\/h1&gt;\n    &lt;p&gt;This domain is for use in illustrative examples in documents. You may use this\n    domain in literature without prior coordination or asking for permission.&lt;\/p&gt;\n    &lt;p&gt;&lt;a href=&quot;https:\/\/www.iana.org\/domains\/example&quot;&gt;More information...&lt;\/a&gt;&lt;\/p&gt;\n&lt;\/div&gt;\n\n&lt;\/body&gt;<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010console.dir\u306e\u5834\u5408\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>...\nchildNodes: NodeList(3) [text, div, text]\nchildren: HTMLCollection [div]\nclassList: DOMTokenList [value: &#39;&#39;]\nclassName: &quot;&quot;\nclientHeight: 287\nclientLeft: 0\nclientTop: 0\nclientWidth: 375\ncontentEditable: &quot;inherit&quot;\ncurrentCSSZoom: 1\ndataset: DOMStringMap {}\ndir: &quot;&quot;\ndraggable: false\neditContext: null\nelementTiming: &quot;&quot;\nenterKeyHint: &quot;&quot;\nfirstChild: text\nfirstElementChild: div\nhidden: false\nid: &quot;&quot;\ninert: false\ninnerHTML: &quot;\\n&lt;div&gt;\\n    &lt;h1&gt;Example Domain&lt;\/h1&gt;\\n    &lt;p&gt;This domain is for use in illustrative examples in documents. You may use this\\n    domain in literature without prior coordination or asking for permission.&lt;\/p&gt;\\n    &lt;p&gt;&lt;a href=\\&quot;https:\/\/www.iana.org\/domains\/example\\&quot;&gt;More information...&lt;\/a&gt;&lt;\/p&gt;\\n&lt;\/div&gt;\\n\\n\\n&quot;\ninnerText: &quot;Example Domain\\n\\nThis domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.\\n\\nMore information...&quot;\ninputMode: &quot;&quot;\nisConnected: true\nisContentEditable: false\nlang: &quot;&quot;\nlastChild: text\nlastElementChild: div\nlink: &quot;&quot;\nlocalName: &quot;body&quot;\nnamespaceURI: &quot;http:\/\/www.w3.org\/1999\/xhtml&quot;\nnextElementSibling: null\nnextSibling: null\nnodeName: &quot;BODY&quot;\nnodeType: 1\nnodeValue: null\n...<\/code><\/pre><\/div>\n\n\n\n<p>\u540c\u3058\u5185\u5bb9\u3067\u3082\u3001\u30e1\u30bd\u30c3\u30c9\u3054\u3068\u306b\u8868\u793a\u65b9\u6cd5\u304c\u5168\u304f\u7570\u306a\u308b\u306e\u304c\u4e00\u76ee\u77ad\u7136\u3067\u3059\u306d\u3002<br>\u78ba\u8a8d\u3057\u305f\u3044\u5185\u5bb9\u306b\u3088\u3063\u3066\u3001\u3069\u3061\u3089\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u304b\u3092\u4f7f\u3044\u5206\u3051\u308b\u3068\u3044\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 id=\"outline__3_4\" class=\"wp-block-heading\">console.table\u3067\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4e2d\u8eab\u3092\u8868\u5f62\u5f0f\u3067\u51fa\u529b\u3059\u308b<\/h3>\n\n\n\n<p>console.table\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u5f15\u6570\u306b\u6307\u5b9a\u3057\u305f\u914d\u5217\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4e2d\u8eab\u3092\u3001\u30c6\u30fc\u30d6\u30eb\u8868\u306e\u5f62\u5f0f\u3067\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5b9f\u969b\u306b\u3001\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u7d50\u679c\u3092\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u8868\u793a\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const numArray = [1,2,3,4,5];\n\nconsole.table(numArray);<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>\u250c\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502   \u2502 Values \u2502\n\u251c\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502 0 \u2502   1    \u2502\n\u2502 1 \u2502   2    \u2502\n\u2502 2 \u2502   3    \u2502\n\u2502 3 \u2502   4    \u2502\n\u2502 4 \u2502   5    \u2502\n\u2514\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/code><\/pre><\/div>\n\n\n\n<p>\u914d\u5217\u306e\u5834\u5408\u306f\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u756a\u53f7\u3068\u5404\u8981\u7d20\u306e\u5024\u304c\u8868\u5f62\u5f0f\u3067\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7d9a\u3044\u3066\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5834\u5408\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const user = {\n    name:&#39;\u5c71\u7530\u592a\u90ce&#39;,\n    age:18\n};\n\nconsole.table(user);<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502      \u2502  Values   \u2502\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502 name \u2502  \u5c71\u7530\u592a\u90ce  \u2502\n\u2502  age \u2502   18      \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/code><\/pre><\/div>\n\n\n\n<p>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5834\u5408\u306f\u3001\u5404\u30ad\u30fc\u3068\u5bfe\u5fdc\u3059\u308b\u8981\u7d20\u306e\u5024\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u3001console.table\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30c6\u30fc\u30d6\u30eb\u8868\u5f62\u5f0f\u3067\u8981\u7d20\u306e\u4e00\u89a7\u3092\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__4\" class=\"wp-block-heading\">console.log\u3067JSON\u306e\u4e2d\u8eab\u3092\u51fa\u529b\u3059\u308b\u65b9\u6cd5<\/h2>\n\n\n\n<p>\u6700\u5f8c\u306b\u3001JSON\u30c7\u30fc\u30bf\u306e\u4e2d\u8eab\u3092\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u51fa\u529b\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>JSON\u3092 console.log\u3067\u51fa\u529b\u3059\u308b\u5834\u5408\u306f\u3001JSON.stringify\u30e1\u30bd\u30c3\u30c9\u3092\u6d3b\u7528\u3057\u307e\u3057\u3087\u3046\u3002<br>\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001JSON\u5f62\u5f0f\u3067\u306e\u51fa\u529b\u8868\u793a\u304c\u7c21\u5358\u306b\u884c\u3048\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u8868\u793a\u5185\u5bb9\u3092\u30a4\u30f3\u30c7\u30f3\u30c8\u3068\u6539\u884c\u3067\u6574\u5f62\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u969b\u306e\u57fa\u672c\u69cb\u6587\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u57fa\u672c\u69cb\u6587\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>JSON.stringify(JSON\u30aa\u30d6\u30b8\u30a7\u30af\u30c8, \u30b3\u30fc\u30eb\u30d0\u30c3\u30af, \u30a4\u30f3\u30c7\u30f3\u30c8\u6570);<\/code><\/pre><\/div>\n\n\n\n<p>JSON.stringify\u30e1\u30bd\u30c3\u30c9\u3067\u306f\u3001\u4e0a\u8a18\u306e\uff13\u3064\u306e\u5f15\u6570\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u3068\u30a4\u30f3\u30c7\u30f3\u30c8\u6570\u306f\u7701\u7565\u53ef\u80fd\u3067\u3001\u305d\u306e\u5834\u5408\u306f\u6574\u5f62\u3055\u308c\u3066\u3044\u306a\u3044\u72b6\u614b\u306eJSON\u30c7\u30fc\u30bf\u304c\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u5b9f\u969b\u306e\u52d5\u304d\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const student = {\n    &quot;name&quot;: &quot;\u5c71\u7530\u592a\u90ce&quot;,\n    &quot;Job&quot;: &quot;\u9ad8\u6821\u751f&quot;,\n    &quot;curriculum&quot;: [\n        &quot;\u82f1\u8a9e&quot;,\n        &quot;\u6570\u5b66&quot;,\n        &quot;\u4e16\u754c\u53f2&quot;\n    ]\n}\n\n\/\/ \u7a7a\u767d2\u6587\u5b57\u3067\u30a4\u30f3\u30c7\u30f3\u30c8\u3057\u3066\u51fa\u529b\nconsole.log(JSON.stringify(student, null, 2));\n<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-lang=\"JSON\"><code>{\n  &quot;name&quot;: &quot;\u5c71\u7530\u592a\u90ce&quot;,\n  &quot;Job&quot;: &quot;\u9ad8\u6821\u751f&quot;,\n  &quot;curriculum&quot;: [\n    &quot;\u82f1\u8a9e&quot;,\n    &quot;\u6570\u5b66&quot;,\n    &quot;\u4e16\u754c\u53f2&quot;\n  ]\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u30a4\u30f3\u30c7\u30f3\u30c8\u3092\u6307\u5b9a\u3057\u305f\u305f\u3081\u3001\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3055\u308c\u305f\u72b6\u614b\u3067\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br>\u3053\u308c\u3092\u3001JSON\u30c7\u30fc\u30bf\u306e\u307f\u306e\u6307\u5b9a\u3067\u8868\u793a\u3057\u305f\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u7d50\u679c\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-lang=\"JSON\"><code>{&quot;name&quot;:&quot;\u5c71\u7530\u592a\u90ce&quot;,&quot;Job&quot;:&quot;\u9ad8\u6821\u751f&quot;,&quot;curriculum&quot;:[&quot;\u82f1\u8a9e&quot;,&quot;\u6570\u5b66&quot;,&quot;\u4e16\u754c\u53f2&quot;]}<\/code><\/pre><\/div>\n\n\n\n<p>\u307e\u305f\u3001JSON\u30c7\u30fc\u30bf\u306e\u4e2d\u8eab\u306f console.dir\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3082\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p><strong>\u3010\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const student = {\n    &quot;name&quot;: &quot;\u5c71\u7530\u592a\u90ce&quot;,\n    &quot;Job&quot;: &quot;\u9ad8\u6821\u751f&quot;,\n    &quot;curriculum&quot;: [\n        &quot;\u82f1\u8a9e&quot;,\n        &quot;\u6570\u5b66&quot;,\n        &quot;\u4e16\u754c\u53f2&quot;\n    ]\n}\n\nconsole.dir(student);<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u3010\u5b9f\u884c\u7d50\u679c\u3011<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-lang=\"JSON\"><code>{\n  name: &quot;\u5c71\u7530\u592a\u90ce&quot;,\n  Job: &quot;\u9ad8\u6821\u751f&quot;,\n  curriculum: [ &quot;\u82f1\u8a9e&quot;, &quot;\u6570\u5b66&quot;, &quot;\u4e16\u754c\u53f2&quot; ],\n}<\/code><\/pre><\/div>\n\n\n\n<h2 id=\"outline__5\" class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u3044\u304b\u304c\u3067\u3057\u305f\u304b\uff1f\u4eca\u56de\u306f\u3001console.log\u30e1\u30bd\u30c3\u30c9\u3092\u59cb\u3081\u3068\u3059\u308b\u3001console\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u69d8\u3005\u306a\u30e1\u30bd\u30c3\u30c9\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u305d\u308c\u305e\u308c\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u7528\u9014\u3054\u3068\u306b\u4f7f\u3044\u5206\u3051\u308b\u3053\u3068\u3067\u3001\u30c7\u30d0\u30c3\u30b0\u4f5c\u696d\u3092\u3088\u308a\u52b9\u7387\u7684\u306b\u3053\u306a\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>\u4f7f\u7528\u3067\u304d\u308b\u30e1\u30bd\u30c3\u30c9\u306e\u6570\u304c\u591a\u3044\u305f\u3081\u3001\u307e\u305a\u306f console.log\u30e1\u30bd\u30c3\u30c9\u306e\u4f7f\u3044\u65b9\u304b\u3089\u899a\u3048\u3066\u3001\u6163\u308c\u305f\u9803\u306b\u4ed6\u306e\u30e1\u30bd\u30c3\u30c9\u3082\u5f90\u3005\u306b\u899a\u3048\u3066\u3044\u304f\u3068\u3044\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u305c\u3072\u3001\u3053\u306e\u8a18\u4e8b\u3082\u53c2\u8003\u306b\u3057\u306a\u304c\u3089\u3001\u4f7f\u3044\u65b9\u3092\u30de\u30b9\u30bf\u30fc\u3057\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n\n\n\n<h2 id=\"outline__6\" class=\"wp-block-heading\">\u95a2\u9023\u8a18\u4e8b<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/techmania.jp\/blog\/javascript0001\/\">JavaScript\u3068\u306f\uff1f\u521d\u5fc3\u8005\u5411\u3051\u306b\u3067\u304d\u308b\u3053\u3068\u3084\u57fa\u672c\u7684\u306a\u66f8\u304d\u65b9\u3092\u89e3\u8aac<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/techmania.jp\/blog\/javascript0002\/\">JavaScript\u304c\u521d\u5fc3\u8005\u306b\u304a\u30b9\u30b9\u30e1\u306a\u7406\u7531\u3092\u73fe\u5f79\u30d7\u30ed\u30b0\u30e9\u30de\u30fc\u304c\u89e3\u8aac<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/techmania.jp\/blog\/programming0012\/\">\u3010JavaScript\u5165\u9580\u3011\u7c21\u5358\u306a\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u3066\u7fd2\u5f97<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/techmania.jp\/blog\/javascript-getelementbyid\/\">\u3010JavaScript\u5165\u9580\u3011getElementById\u306e\u4f7f\u3044\u65b9\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u5fb9\u5e95\u89e3\u8aac<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/techmania.jp\/blog\/javascript-foreach\/\">\u3010JavaScript\u5165\u9580\u3011forEach\u30e1\u30bd\u30c3\u30c9\u3067\u914d\u5217\u306e\u5404\u8981\u7d20\u306b\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3059\uff01\u4f7f\u3044\u65b9\u304b\u3089\u6ce8\u610f\u70b9\u307e\u3067\u5fb9\u5e95\u89e3\u8aac<\/a><\/li>\n<\/ul>\n\n\n\n<h2 id=\"outline__7\" class=\"wp-block-heading\">JavaScript\u306e\u52c9\u5f37\u65b9\u6cd5\u306f\uff1f<\/h2>\n\n\n<p>\u66f8\u7c4d\u3084\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3067\u5b66\u7fd2\u3059\u308b\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002\u6628\u4eca\u3067\u306f\u3001YouTube\u306a\u3069\u306e\u52d5\u753b\u30b5\u30a4\u30c8\u3084\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u30b5\u30a4\u30c8\u306a\u3069\u3082\u5145\u5b9f\u3057\u3066\u3044\u3066\u591a\u304f\u306e\u60c5\u5831\u304c\u624b\u306b\u5165\u308a\u307e\u3059\u3002<br \/>\u305d\u3057\u3066\u3001\u3088\u308a\u52b9\u7387\u7684\u306b\u77e5\u8b58\u30fb\u30b9\u30ad\u30eb\u3092\u7fd2\u5f97\u3059\u308b\u306b\u306f\u3001\u77e5\u8b58\u3092\u3064\u3051\u306a\u304c\u3089\u5b9f\u969b\u306b\u624b\u3092\u52d5\u304b\u3057\u3066\u307f\u308b\u306a\u3069\u3001\u30a4\u30f3\u30d7\u30c3\u30c8\u3068\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u3092\u7e70\u308a\u8fd4\u3057\u3066\u3044\u304f\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u7279\u306b\u72ec\u5b66\u306e\u5834\u5408\u306f\u3001\u6709\u8b58\u8005\u306b\u8cea\u554f\u304c\u3067\u304d\u305f\u308a\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u3092\u3082\u3089\u3048\u308b\u3088\u3046\u306a\u74b0\u5883\u304c\u3042\u308b\u3068\u3001\u7406\u89e3\u5ea6\u304c\u6df1\u307e\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u305f\u3060\u3001JavaScript\u306b\u9650\u3089\u305a\u3001IT\u30b9\u30ad\u30eb\u3092\u8eab\u306b\u3064\u3051\u308b\u969b\u3001\u3069\u3046\u3057\u3066\u3082\u8ab2\u984c\u306b\u3076\u3064\u304b\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u306f\u3042\u308a\u307e\u3059\u3088\u306d\u3002\u7279\u306b\u72ec\u5b66\u3060\u3068\u3001\u308f\u304b\u3089\u306a\u3044\u90e8\u5206\u3092\u30d7\u30ed\u306b\u8cea\u554f\u3067\u304d\u308b\u6a5f\u4f1a\u3092\u78ba\u4fdd\u3057\u306b\u304f\u304f\u3001\u30e2\u30c1\u30d9\u30fc\u30b7\u30e7\u30f3\u304c\u7d9a\u304d\u306b\u304f\u3044\u3068\u3044\u3046\u5074\u9762\u304c\u3042\u308a\u307e\u3059\u3002\u72ec\u5b66\u3067\u30e2\u30c1\u30d9\u30fc\u30b7\u30e7\u30f3\u3092\u7dad\u6301\u3059\u308b\u81ea\u4fe1\u304c\u306a\u3044\u4eba\u306b\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3068\u3044\u3046\u624b\u3082\u3042\u308a\u307e\u3059\u3002\u8cbb\u7528\u306f\u639b\u304b\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u5206\u30b9\u30ad\u30eb\u3092\u8eab\u306b\u3064\u3051\u3084\u3059\u3044\u3067\u3059\u3002\u3057\u3063\u304b\u308a\u3068\u77e5\u8b58\u30fb\u30b9\u30ad\u30eb\u3092\u7fd2\u5f97\u3057\u3066\u5b9f\u8df5\u306b\u6d3b\u304b\u3057\u305f\u3044\u3068\u3044\u3046\u4eba\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n<p><span class=\"markerYellow\"><strong>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u306a\u3089\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u304c\u304a\u3059\u3059\u3081\uff01<\/strong><\/span><\/p>\n\n\n<img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/images\/yuudou.png\" class=\"post-img\">\n\n\n<p>IT\u30b9\u30ad\u30eb\u9700\u8981\u306e\u9ad8\u307e\u308a\u3068\u3068\u3082\u306b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3082\u5897\u3048\u307e\u3057\u305f\u3002\u3057\u304b\u3057\u3001\u3069\u306e\u30b9\u30af\u30fc\u30eb\u306b\u901a\u3046\u3079\u304d\u304b\u8ff7\u3063\u3066\u3057\u307e\u3046\u4eba\u3082\u3044\u308b\u3067\u3057\u3087\u3046\u3002\u305d\u3093\u306a\u65b9\u306b\u306f\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\uff01\u3053\u308c\u307e\u3067\u591a\u304f\u306eIT\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u80b2\u6210\u30fb\u8f29\u51fa\u3057\u3066\u304d\u305f\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u3067\u3082\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3092\u958b\u8b1b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"bgBox\">\n<p><strong>\uff1c\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u306e\u7279\u5fb4\uff1e<\/strong><br \/><strong>\u30fb\u305f\u3057\u304b\u306a\u80b2\u6210\u5b9f\u7e3e\u3068\u89aa\u8eab\u306a\u6559\u80b2\u3000\uff5e\u30bb\u30ab\u30f3\u30c9\u30ad\u30e3\u30ea\u30a2\u3092\u5168\u529b\u652f\u63f4\uff5e<\/strong><br \/><strong>\u30fb\u8b1b\u5e2b\u304c\u73fe\u5f79\u30a8\u30f3\u30b8\u30cb\u30a2\u3000\uff5e\u201c\u672c\u5f53\u201d\u306e\u958b\u767a\u30ce\u30a6\u30cf\u30a6\u3092\u76f4\u306b\u5b66\u3079\u308b\uff5e<\/strong><br \/><strong>\u30fb\u5c02\u5c5e\u8b1b\u5e2b\u304c\u5b66\u7fd2\u3092\u5fb9\u5e95\u30b5\u30dd\u30fc\u30c8\u3000\uff5e\u300c\u308f\u304b\u3089\u306a\u3044\u300d\u3092\u5fb9\u5e95\u89e3\u6c7a\uff5e<\/strong><br \/><strong>\u30fb\u5b9f\u52d9\u30d9\u30fc\u30b9\u3067\u30b9\u30ad\u30eb\u3092\u7fd2\u5f97\u3000\uff5e\u5b9f\u8df5\u7684\u306a\u51dd\u7e2e\u30ab\u30ea\u30ad\u30e5\u30e9\u30e0\uff5e<\/strong><\/p>\n<\/div>\n<p>\u3053\u306e\u3088\u3046\u306a\u7279\u5fb4\u3092\u6301\u3064\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u306fIT\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30b9\u30bf\u30fc\u30c8\u30e9\u30a4\u30f3\u3068\u3057\u3066\u6700\u9069\u3067\u3059\u3002<br \/>\u8a71\u3092\u805e\u304d\u305f\u3044\u30fb\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u3068\u3044\u3046\u65b9\u306f<a href=\"https:\/\/techmania.jp\/lp\/2\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089<\/a>\u304b\u3089\u304a\u6c17\u8efd\u306b\u304a\u554f\u3044\u5408\u308f\u305b\u304f\u3060\u3055\u3044\u3002<\/p>","protected":false},"excerpt":{"rendered":"JavaScript\u3067\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u3059\u308b\u3068\u304d\u3001\u30c7\u30d0\u30c3\u30b0\u4f5c\u696d\u306b\u5fc5\u305a\u3068\u8a00\u3063\u3066\u3044\u3044\u307b\u3069\u6d3b\u7528\u3055\u308c\u308b\u306e\u304cconsole.log\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002 \u4eca\u56de\u306f\u3001console.log\u30e1\u30bd\u30c3\u30c9\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u5177\u4f53\u7684\u306a\u6d3b\u7528\u65b9\u6cd5\u3001\u305d\u306e\u4ed6\u306econsole\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30e1\u30bd\u30c3\u30c9\u306a\u3069\u3068\u5408\u308f\u305b\u3066\u89e3\u8aac\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 JavaScript\u306econsole.log\u3068\u306f\uff1f console.log\u306f\u3001\u5909\u6570\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u5024\u3084\u4efb [&hellip;]","protected":false},"author":11,"featured_media":9682,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/images\/javascript-consoleLog.webp","fifu_image_alt":"\u3010JavaScript\u5165\u9580\u3011console.log\u3067\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u5024\u3092\u51fa\u529b\u3059\u308b","footnotes":""},"categories":[15],"tags":[],"class_list":["post-9667","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming"],"_links":{"self":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/9667","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/comments?post=9667"}],"version-history":[{"count":10,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/9667\/revisions"}],"predecessor-version":[{"id":9685,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/9667\/revisions\/9685"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/media\/9682"}],"wp:attachment":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/media?parent=9667"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/categories?post=9667"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/tags?post=9667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}