{"id":1345,"date":"2025-04-03T13:53:26","date_gmt":"2025-04-03T04:53:26","guid":{"rendered":"https:\/\/route-zero.com\/recruit\/route\/1345\/"},"modified":"2025-07-03T14:00:58","modified_gmt":"2025-07-03T05:00:58","slug":"1345","status":"publish","type":"route","link":"https:\/\/route-zero.com\/recruit\/route\/1345\/","title":{"rendered":"\u56f3\u89e3\u3067\u308f\u304b\u308b\uff01 JavaScript\u521d\u5fc3\u8005\u304c\u30cf\u30de\u308b let\u3068var\u306e\u9055\u3044\u3092\u5fb9\u5e95\u89e3\u8aac\uff5c\u73fe\u5834\u3067\u306e\u6ce8\u610f\u70b9\u307e\u3067\u5b8c\u5168\u5bfe\u5fdc"},"content":{"rendered":"<div>\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>\u300clet\u3068var\u3063\u3066\u7d50\u5c40\u3069\u3046\u9055\u3046\u306e\uff1f\u300d\u2014\u2014\u591a\u304f\u306e\u958b\u767a\u8005\u304c\u4e00\u5ea6\u306f\u3053\u306e\u7591\u554f\u306b\u3076\u3064\u304b\u308a\u307e\u3059\u3002\u3042\u308b\u65e5\u3001var\u3067\u66f8\u3044\u305f\u30b3\u30fc\u30c9\u304c\u601d\u3063\u305f\u901a\u308a\u306b\u52d5\u304b\u305a\u3001let\u306b\u5909\u3048\u3066\u307f\u305f\u3089\u76f4\u3063\u305f\u2026\u3067\u3082\u305d\u306e\u7406\u7531\u306f\u5206\u304b\u3089\u306a\u3044\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u201c\u306a\u3093\u3068\u306a\u304f\u4f7f\u3063\u3066\u3044\u308b\u201d\u72b6\u614b\u304b\u3089\u8131\u5374\u3057\u3001JavaScript\u306e\u5909\u6570\u5ba3\u8a00\u306b\u81ea\u4fe1\u3092\u6301\u3066\u308b\u3088\u3046\u306b\u306a\u308b\u3053\u3068\u3092\u76ee\u6307\u3057\u307e\u3059\u3002<\/p>\n<h3>let\u3068var\u3092\u7406\u89e3\u3059\u308b\u30e1\u30ea\u30c3\u30c8<\/h3>\n<ul>\n<li>\n<p><strong>\u4e88\u671f\u305b\u306c\u30d0\u30b0\u3092\u9632\u3052\u308b<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u30b3\u30fc\u30c9\u306e\u53ef\u8aad\u6027\u3068\u4fdd\u5b88\u6027\u304c\u5411\u4e0a\u3059\u308b<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u30e2\u30c0\u30f3\u306aJavaScript\u306e\u57fa\u790e\u304c\u8eab\u306b\u3064\u304f<\/strong><\/p>\n<\/li>\n<\/ul>\n<h3>\u6b74\u53f2\u7684\u80cc\u666f<\/h3>\n<p>JavaScript\u304c\u6700\u521d\u306b\u767b\u5834\u3057\u305f1995\u5e74\u5f53\u521d\u3001\u5909\u6570\u5ba3\u8a00\u306b\u4f7f\u3048\u308b\u306e\u306fvar\u306e\u307f\u3067\u3057\u305f\u3002\u3057\u304b\u3057\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u554f\u984c\u70b9\u304c\u591a\u304f\u5831\u544a\u3055\u308c\u3066\u3044\u307e\u3057\u305f\uff1a<\/p>\n<ul>\n<li>\n<p><strong>\u30b0\u30ed\u30fc\u30d0\u30eb\u6c5a\u67d3<\/strong>\uff1avar\u3067\u5ba3\u8a00\u3055\u308c\u305f\u5909\u6570\u306f\u30b0\u30ed\u30fc\u30d0\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff08window\u306a\u3069\uff09\u306b\u8ffd\u52a0\u3055\u308c\u308b\u305f\u3081\u3001\u610f\u56f3\u305b\u305a\u65e2\u5b58\u306e\u5909\u6570\u3092\u4e0a\u66f8\u304d\u3057\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u3042\u308b<\/p>\n<\/li>\n<li>\n<p><strong>\u30b9\u30b3\u30fc\u30d7\u306e\u66d6\u6627\u3055<\/strong>\uff1avar\u306f\u95a2\u6570\u30b9\u30b3\u30fc\u30d7\u3067\u3042\u308a\u3001\u30d6\u30ed\u30c3\u30af\u3054\u3068\u306e\u5236\u5fa1\u304c\u3067\u304d\u306a\u3044<\/p>\n<\/li>\n<li>\n<p><strong>\u30db\u30a4\u30b9\u30c6\u30a3\u30f3\u30b0\u306b\u3088\u308b\u4e88\u6e2c\u56f0\u96e3\u306a\u30d0\u30b0<\/strong>\uff1a\u5ba3\u8a00\u3060\u3051\u304c\u5dfb\u304d\u4e0a\u3052\u3089\u308c\u3001\u521d\u671f\u5316\u304c\u5f8c\u306b\u306a\u308b\u305f\u3081\u30d0\u30b0\u3092\u751f\u307f\u3084\u3059\u3044<\/p>\n<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u8ab2\u984c\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u3001ES6\uff082015\u5e74\uff09\u3067let\u3068const\u304c\u5c0e\u5165\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u308c\u306b\u3088\u308a\u3001<strong>\u30d6\u30ed\u30c3\u30af\u30b9\u30b3\u30fc\u30d7<\/strong>\u3084<strong>\u4e00\u6642\u7684\u30c7\u30c3\u30c9\u30be\u30fc\u30f3\uff08TDZ\uff09<\/strong>\u306a\u3069\u3001\u3088\u308a\u76f4\u611f\u7684\u3067\u5b89\u5168\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u4ed5\u7d44\u307f\u304c\u6574\u5099\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<hr>\n<h2>var\u306e\u7279\u5fb4\u3068\u6319\u52d5\u3092\u7406\u89e3\u3059\u308b<\/h2>\n<h3>var\u306e\u4e3b\u306a\u7279\u5fb4\uff1a<\/h3>\n<ul>\n<li>\n<p><strong>\u95a2\u6570\u30b9\u30b3\u30fc\u30d7<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u30db\u30a4\u30b9\u30c6\u30a3\u30f3\u30b0\uff08\u5dfb\u304d\u4e0a\u3052\uff09<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u518d\u5ba3\u8a00\u30fb\u518d\u4ee3\u5165\u304c\u53ef\u80fd<\/strong><\/p>\n<\/li>\n<\/ul>\n<h3>\u30b3\u30fc\u30c9\u4f8b\uff1a\u30db\u30a4\u30b9\u30c6\u30a3\u30f3\u30b0\u306e\u7f60<\/h3>\n<p><strong>\u7d50\u8ad6\uff1a\u5ba3\u8a00\u304c\u5dfb\u304d\u4e0a\u3052\u3089\u308c\u3001\u521d\u671f\u5316\u524d\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3082\u30a8\u30e9\u30fc\u306b\u306a\u3089\u305aundefined\u306b\u306a\u308b<\/strong><\/p>\n<pre><code><span>console<\/span>.log(score); <span>\/\/ \u51fa\u529b: undefined \u2190 \u5909\u6570score\u306f\u5ba3\u8a00\u3055\u308c\u3066\u3044\u308b\u304c\u3001\u521d\u671f\u5316\u524d<\/span>\r\n<span>var<\/span> score = <span>10<\/span>;     <span>\/\/ \u521d\u671f\u5316\u306f\u3053\u306e\u30bf\u30a4\u30df\u30f3\u30b0<\/span><\/code><\/pre>\n<pre><code>\u5b9f\u884c\u30a4\u30e1\u30fc\u30b8\uff1a\r\n<span>var<\/span> score;\r\n<span>console<\/span>.log(score); <span>\/\/ undefined<\/span>\r\nscore = <span>10<\/span>;<\/code><\/pre>\n<pre><code><span><span>function<\/span> <span>test<\/span>(<span><\/span>) <\/span>{\r\n  <span>if<\/span> (<span>true<\/span>) {\r\n    <span>var<\/span> message = <span>'Hello'<\/span>; <span>\/\/ var\u306f\u95a2\u6570\u30b9\u30b3\u30fc\u30d7\u306b\u5c5e\u3059\u308b<\/span>\r\n  }\r\n  <span>console<\/span>.log(message); <span>\/\/ \u51fa\u529b: 'Hello' \u2190 \u30d6\u30ed\u30c3\u30af\u5916\u3067\u3082\u30a2\u30af\u30bb\u30b9\u53ef\u80fd<\/span>\r\n}\r\ntest();<\/code><\/pre>\n<hr>\n<h2>let\u306e\u7279\u5fb4\u3068\u30e2\u30c0\u30f3\u306aJavaScript\u3067\u306e\u5f79\u5272<\/h2>\n<h3>let\u306e\u4e3b\u306a\u7279\u5fb4\uff1a<\/h3>\n<ul>\n<li>\n<p><strong>\u30d6\u30ed\u30c3\u30af\u30b9\u30b3\u30fc\u30d7<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u4e00\u6642\u7684\u30c7\u30c3\u30c9\u30be\u30fc\u30f3\uff08TDZ\uff09<\/strong><\/p>\n<\/li>\n<li>\n<p><strong>\u518d\u4ee3\u5165\u306f\u53ef\u80fd\u3060\u304c\u3001\u518d\u5ba3\u8a00\u306f\u4e0d\u53ef<\/strong><\/p>\n<\/li>\n<\/ul>\n<h3>\u30b3\u30fc\u30c9\u4f8b\uff1aTDZ\u306e\u6319\u52d5<\/h3>\n<p><strong>\u7d50\u8ad6\uff1a\u5ba3\u8a00\u524d\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\uff08\u5b89\u5168\u306a\u6319\u52d5\uff09<\/strong><\/p>\n<pre><code><span>console<\/span>.log(age); <span>\/\/ &#x274c; ReferenceError: Cannot access 'age' before initialization<\/span>\r\n<span>let<\/span> age = <span>25<\/span>;     <span>\/\/ \u521d\u671f\u5316\u30bf\u30a4\u30df\u30f3\u30b0\u4ee5\u964d\u3067\u306a\u3051\u308c\u3070\u30a2\u30af\u30bb\u30b9\u4e0d\u53ef<\/span><\/code><\/pre>\n<pre><code>\u5b9f\u884c\u30a4\u30e1\u30fc\u30b8\uff1a\r\n\u30b9\u30b3\u30fc\u30d7\u5185\u306b\u5909\u6570\u306f\u5b58\u5728\u3057\u3066\u3044\u308b\u304c\u3001\u521d\u671f\u5316\u524d\u306e\u30a2\u30af\u30bb\u30b9\u306f\u7981\u6b62\uff08TDZ\uff09<\/code><\/pre>\n<pre><code><span><span>function<\/span> <span>testLet<\/span>(<span><\/span>) <\/span>{\r\n  <span>if<\/span> (<span>true<\/span>) {\r\n    <span>let<\/span> greeting = <span>'Hi'<\/span>; <span>\/\/ \u3053\u306e\u30d6\u30ed\u30c3\u30af\u5185\u3067\u306e\u307f\u6709\u52b9<\/span>\r\n  }\r\n  <span>console<\/span>.log(greeting); <span>\/\/ &#x274c; ReferenceError \u2190 \u30d6\u30ed\u30c3\u30af\u30b9\u30b3\u30fc\u30d7\u306e\u5916\u306a\u306e\u3067\u53c2\u7167\u4e0d\u53ef<\/span>\r\n}\r\ntestLet();<\/code><\/pre>\n<hr>\n<h2>\u5b9f\u52d9\u3067\u6c17\u3092\u3064\u3051\u305f\u3044\uff01var\u304b\u3089let\/const\u3078\u306e\u79fb\u884c\u30dd\u30a4\u30f3\u30c8<\/h2>\n<h3>\u3088\u304f\u3042\u308b\u843d\u3068\u3057\u7a74\u3068\u6ce8\u610f\u70b9<\/h3>\n<p>for\u30eb\u30fc\u30d7\u5185\u306e\u30af\u30ed\u30fc\u30b8\u30e3<\/p>\n<p><strong>\u7d50\u8ad6\uff1alet\u3092\u4f7f\u3048\u3070\u610f\u56f3\u901a\u308a\u306e\u5024\u3092\u4fdd\u6301\u3067\u304d\u308b<\/strong><\/p>\n<pre><code><span>for<\/span> (<span>var<\/span> i = <span>0<\/span>; i &lt; <span>3<\/span>; i++) {\r\n  setTimeout(<span><span>()<\/span> =&gt;<\/span> <span>console<\/span>.log(i), <span>100<\/span>);\r\n} <span>\/\/ \u51fa\u529b: 3, 3, 3<\/span>\r\n\r\n<span>for<\/span> (<span>let<\/span> i = <span>0<\/span>; i &lt; <span>3<\/span>; i++) {\r\n  setTimeout(<span><span>()<\/span> =&gt;<\/span> <span>console<\/span>.log(i), <span>100<\/span>);\r\n} <span>\/\/ \u51fa\u529b: 0, 1, 2<\/span><\/code><\/pre>\n<p><strong>\u306a\u305c\u3053\u3046\u306a\u308b\uff1f<\/strong><\/p>\n<ul>\n<li>\n<p>var\u306f\u95a2\u6570\u30b9\u30b3\u30fc\u30d7\u306a\u306e\u3067\u3001\u30eb\u30fc\u30d7\u5185\u3067\u540c\u3058i\u3092\u5171\u6709\u3059\u308b\u305f\u3081\u3001\u30eb\u30fc\u30d7\u5f8c\u306e\u5024\u304c\u51fa\u529b\u3055\u308c\u308b<\/p>\n<\/li>\n<li>\n<p>let\u306f\u30d6\u30ed\u30c3\u30af\u30b9\u30b3\u30fc\u30d7\u3067\u3001\u5404\u30eb\u30fc\u30d7\u3054\u3068\u306b\u65b0\u3057\u3044i\u304c\u5b9a\u7fa9\u3055\u308c\u308b\u305f\u3081\u3001\u60f3\u5b9a\u901a\u308a\u306e\u6319\u52d5\u306b\u306a\u308b<\/p>\n<\/li>\n<\/ul>\n<p>\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u306e\u6271\u3044<\/p>\n<p><strong>\u7d50\u8ad6\uff1avar\u306fwindow\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5c5e\u3057\u3001let\/const\u306f\u5c5e\u3055\u306a\u3044<\/strong><\/p>\n<pre><code><span>var<\/span> x = <span>10<\/span>;\r\n<span>console<\/span>.log(<span>window<\/span>.x); <span>\/\/ \u51fa\u529b: 10 \u2190 \u30b0\u30ed\u30fc\u30d0\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5c5e\u3059\u308b<\/span>\r\n\r\n<span>let<\/span> y = <span>20<\/span>;\r\n<span>console<\/span>.log(<span>window<\/span>.y); <span>\/\/ \u51fa\u529b: undefined \u2190 window\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u306f\u306a\u3044<\/span><\/code><\/pre>\n<p><strong>\u306a\u305c\u3053\u3046\u306a\u308b\uff1f<\/strong><\/p>\n<ul>\n<li>\n<p>var\u3067\u5ba3\u8a00\u3057\u305f\u5909\u6570\u306f\u3001\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30b3\u30fc\u30d7\u3067\u3042\u308c\u3070window\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u306a\u308b<\/p>\n<\/li>\n<li>\n<p>let\u3068const\u306f\u30d6\u30ed\u30c3\u30af\u30b9\u30b3\u30fc\u30d7\u3067\u3001window\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u7d10\u4ed8\u304b\u306a\u3044\u5b89\u5168\u8a2d\u8a08\u306b\u306a\u3063\u3066\u3044\u308b<\/p>\n<\/li>\n<\/ul>\n<hr>\n<h2>let\u3068var\u306e\u304a\u3059\u3059\u3081\u7528\u9014\u30d1\u30bf\u30fc\u30f3\uff08\u8996\u899a\u30ac\u30a4\u30c9\uff09<\/h2>\n<pre><code>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\r\n\u2502 \u4f7f\u7528\u30b1\u30fc\u30b9     \u2502 \u63a8\u5968\u3055\u308c\u308b\u30ad\u30fc\u30ef\u30fc\u30c9            \u2502\r\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\r\n\u2502 \u30eb\u30fc\u30d7\u30ab\u30a6\u30f3\u30bf    \u2502 <span>let<\/span>\uff08\u30b9\u30b3\u30fc\u30d7\u9650\u5b9a\u3067\u5b89\u5168\uff09        \u2502\r\n\u2502 \u4e00\u5ea6\u3060\u3051\u4f7f\u3046\u5024     \u2502 <span>const<\/span>\uff08\u518d\u4ee3\u5165\u4e0d\u53ef\u3067\u610f\u56f3\u304c\u660e\u78ba\uff09   \u2502\r\n\u2502 \u53e4\u3044\u30b3\u30fc\u30c9\u306e\u4fdd\u5b88   \u2502 <span>var<\/span>\uff08\u7121\u7406\u306b\u5909\u3048\u306a\u3044\u65b9\u304c\u5b89\u5168\u306a\u5834\u5408\uff09\u2502\r\n\u2502 \u518d\u4ee3\u5165\u304c\u5fc5\u8981\u306a\u5909\u6570 \u2502 <span>let<\/span>\uff08\u5909\u66f4\u3092\u8a31\u5bb9\u3059\u308b\uff09            \u2502\r\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/code><\/pre>\n<hr>\n<h2>const\u3068\u306e\u9055\u3044\u3082\u8efd\u304f\u304a\u3055\u3089\u3044<\/h2>\n<p>const\u306flet\u3068\u540c\u69d8\u306b\u30d6\u30ed\u30c3\u30af\u30b9\u30b3\u30fc\u30d7\u3067\u3059\u304c\u3001<strong>\u518d\u4ee3\u5165\u304c\u4e0d\u53ef<\/strong>\u3067\u3042\u308a\u3001\u610f\u56f3\u306e\u660e\u78ba\u5316\u3084\u5b89\u5168\u6027\u306e\u5411\u4e0a\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<pre><code><span>const<\/span> name = <span>'Alice'<\/span>;\r\nname = <span>'Bob'<\/span>; <span>\/\/ &#x274c; TypeError<\/span><\/code><\/pre>\n<pre><code><span>const<\/span> user = { <span>age<\/span>: <span>25<\/span> };\r\nuser.age = <span>26<\/span>; <span>\/\/ &#x2705; OK\uff08\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4e2d\u8eab\u306f\u5909\u66f4\u53ef\u80fd\uff09<\/span><\/code><\/pre>\n<hr>\n<h2>\u3053\u306e\u8a18\u4e8b\u3067\u89e3\u6c7a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3053\u3068<\/h2>\n<ul>\n<li>\n<p>let\u3068var\u306e\u30b9\u30b3\u30fc\u30d7\u3084\u30db\u30a4\u30b9\u30c6\u30a3\u30f3\u30b0\u306e\u9055\u3044\u3092\u7406\u89e3\u3067\u304d\u305f<\/p>\n<\/li>\n<li>\n<p>TDZ\u3084\u518d\u5ba3\u8a00\u4e0d\u53ef\u306e\u7279\u6027\u3092\u628a\u63e1\u3057\u3001\u5b89\u5168\u306a\u5909\u6570\u5ba3\u8a00\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f<\/p>\n<\/li>\n<li>\n<p>\u5b9f\u52d9\u3067\u306e\u4f7f\u3044\u5206\u3051\u30dd\u30a4\u30f3\u30c8\u3068\u3001\u79fb\u884c\u6642\u306e\u6ce8\u610f\u70b9\u3092\u5b66\u3079\u305f<\/p>\n<\/li>\n<li>\n<p>const\u3068\u306e\u9055\u3044\u3082\u7c21\u6f54\u306b\u7406\u89e3\u3057\u3001\u73fe\u4ee3JS\u306e\u5909\u6570\u5ba3\u8a00\u306e\u5168\u4f53\u50cf\u304c\u898b\u3048\u305f<\/p>\n<\/li>\n<\/ul>\n<hr>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>JavaScript\u306elet\u3068var\u306e\u9055\u3044\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u306f\u3001<strong>\u30d0\u30b0\u3092\u6e1b\u3089\u3057\u3001\u30b3\u30fc\u30c9\u3092\u5805\u7262\u306b\u3059\u308b\u57fa\u790e\u529b<\/strong>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\n<p>var\uff1a\u95a2\u6570\u30b9\u30b3\u30fc\u30d7\u3002\u53e4\u3044\u30b3\u30fc\u30c9\u3084\u30ec\u30ac\u30b7\u30fc\u5bfe\u5fdc\u306b\u9650\u3063\u3066\u4f7f\u7528\u3002<\/p>\n<\/li>\n<li>\n<p>let\uff1a\u30d6\u30ed\u30c3\u30af\u30b9\u30b3\u30fc\u30d7\u3002\u518d\u4ee3\u5165\u304c\u5fc5\u8981\u306a\u5834\u5408\u306b\u4f7f\u3046\u3002<\/p>\n<\/li>\n<li>\n<p>const\uff1a\u518d\u4ee3\u5165\u4e0d\u8981\u306a\u5b9a\u6570\u306b\u4f7f\u3046\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u9078\u629e\u80a2\u3068\u3057\u3066\u63a8\u5968\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u3053\u306e\u9055\u3044\u3092\u4f7f\u3044\u3053\u306a\u3059\u3053\u3068\u3067\u3001\u30e2\u30c0\u30f3JavaScript\u306e\u958b\u767a\u52b9\u7387\u3068\u5b89\u5168\u6027\u306f\u683c\u6bb5\u306b\u5411\u4e0a\u3057\u307e\u3059\u3002<\/p>\n<hr>\n<h3>\u3010\u5916\u90e8\u30ea\u30f3\u30af\u3011<\/h3>\n<p><a href=\"https:\/\/developer.mozilla.org\/ja\/docs\/Web\/JavaScript\/Reference\/Statements\/var\">MDN Web Docs &#8211; var<\/a><\/p>\n<p><a href=\"https:\/\/developer.mozilla.org\/ja\/docs\/Web\/JavaScript\/Reference\/Statements\/let\">MDN Web Docs &#8211; let<\/a><\/p>\n<p><a href=\"https:\/\/developer.mozilla.org\/ja\/docs\/Web\/JavaScript\/Reference\/Statements\/const\">MDN Web Docs &#8211; const<\/a><\/p>\n<p><a href=\"https:\/\/developer.mozilla.org\/ja\/docs\/Web\/JavaScript\/Guide\/Grammar_and_types#\u5909\u6570\">MDN Web Docs &#8211; \u5909\u6570\u306e\u4f7f\u3044\u65b9<\/a><\/p>\n<h3>\u3010\u5185\u90e8\u30ea\u30f3\u30af\u3011<\/h3>\n<p><a href=\"https:\/\/route-zero.com\/recruit\/route\/1247\/\">JavaScript\u3067\u30b3\u30fc\u30c9\u304c\u66f8\u3051\u306a\u3044\u672c\u5f53\u306e\u7406\u7531\u3068\u201c\u9806\u5e8f\u8a2d\u8a08\u201d\u306e\u3059\u3059\u3081<\/a><br \/>\n<a href=\"https:\/\/route-zero.com\/recruit\/route\/1109\/\">JavaScript\u3067\u3088\u304f\u767a\u751f\u3059\u308b\u30a8\u30e9\u30fc\u300cReferenceError\u300d\u300cSyntaxError\u300d\u306a\u3069\u306e\u539f\u56e0\u3068\u5bfe\u7b56\u3092\u5177\u4f53\u4f8b\u4ed8\u304d\u3067\u89e3\u8aac<\/a><br \/>\n<a href=\"https:\/\/route-zero.com\/recruit\/route\/1128\/\">JavaScript\u306eAjax\u5b8c\u5168\u5165\u9580\uff5cfetch\u306e\u4f7f\u3044\u65b9\u30fbCORS\u30a8\u30e9\u30fc\u306e\u5bfe\u51e6\u30fb\u975e\u540c\u671f\u901a\u4fe1\u306e\u57fa\u672c\u3092\u89e3\u8aac<\/a><br \/>\n<a href=\"https:\/\/route-zero.com\/recruit\/route\/965\/\">JavaScript\u306e\u914d\u5217\u30fbJSON\u30fbmap\u30fbMap\uff1a\u30c7\u30fc\u30bf\u64cd\u4f5c\u8853<\/a><br \/>\n<a href=\"https:\/\/route-zero.com\/recruit\/route\/1312\/\">TypeError: Cannot read property\u306e\u610f\u5473\u3068\u56de\u907f\u8853\u3010\u521d\u5fc3\u8005\u5411\u3051\u3011<\/a>\n<\/div>\n","protected":false},"featured_media":1346,"template":"","_links":{"self":[{"href":"https:\/\/route-zero.com\/recruit\/wp-json\/wp\/v2\/route\/1345"}],"collection":[{"href":"https:\/\/route-zero.com\/recruit\/wp-json\/wp\/v2\/route"}],"about":[{"href":"https:\/\/route-zero.com\/recruit\/wp-json\/wp\/v2\/types\/route"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/route-zero.com\/recruit\/wp-json\/wp\/v2\/media\/1346"}],"wp:attachment":[{"href":"https:\/\/route-zero.com\/recruit\/wp-json\/wp\/v2\/media?parent=1345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}