{"id":17957,"date":"2022-09-28T10:28:39","date_gmt":"2022-09-28T01:28:39","guid":{"rendered":"http:\/\/www.code-magagine.com\/?p=17957"},"modified":"2023-05-27T20:50:42","modified_gmt":"2023-05-27T11:50:42","slug":"%e3%80%90javascript%e3%80%91%e3%80%8c%e9%96%a2%e6%95%b0%e3%82%aa%e3%83%96%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%80%8d","status":"publish","type":"post","link":"http:\/\/www.code-magagine.com\/?p=17957","title":{"rendered":"\u3010JavaScript\u3011\u300c\u95a2\u6570\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3001\u300c\u95a2\u6570\u5f0f\u300d\u3001\u300c\u30d5\u30a1\u30af\u30c8\u30ea\u95a2\u6570\u300d\u3001\u300c\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u95a2\u6570\u300d\u3001\u300c\u30a2\u30ed\u30fc\u95a2\u6570\u300d"},"content":{"rendered":"<h2>\u95a2\u6570\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/h2>\n<p>JavaScript\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u95a2\u6570\u3082\u5909\u6570\u306b\u4ee3\u5165\u3067\u304d\u305f\u308a\u3057\u307e\u3059\u304c\u3001\u95a2\u6570\u81ea\u4f53\u3082\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">function add (a,b) {\r\n return a+ b;\r\n}<\/pre>\n<p>\u3053\u3046\u3059\u308b\u3068add\u3068\u3044\u3046\u5909\u6570\u306b\u5bfe\u3057\u3066\u95a2\u6570\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u4ee3\u5165\u3055\u308c\u308b\u3068\u3044\u3046\u6319\u52d5\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>typeof\u6f14\u7b97\u5b50<\/h3>\n<p>\u305f\u3060\u3001\u3053\u308c\u3092\u4f7f\u3046\u3068\u300cfunction\u300d\u3068\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304b\u3089\u95a2\u6570\u3092\u5b9a\u7fa9\u3067\u304d\u308b\u306e\u304b\uff1f<\/h3>\n<p>\u3067\u306f\u3001\u9006\u306b\u8a00\u3048\u3070\u95a2\u6570\u306f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u3044\u3046\u3053\u3068\u306a\u306e\u3067\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304b\u3089\u95a2\u6570\u3092\u751f\u6210\u3067\u304d\u308b\u304b\u306a\u3068\u3044\u3048\u3070\u3053\u308c\u306f<span style=\"color: #ff0000;\"><strong>\u3067\u304d\u307e\u305b\u3093\u3002<\/strong><\/span><\/p>\n<p>\u306a\u305c\u306a\u3089\u3001JavaScript\u30a8\u30f3\u30b8\u30f3\u304c\u95a2\u6570\u7528\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u5185\u90e8\u7684\u306b\u81ea\u52d5\u751f\u6210\u3057\u3066\u3044\u308b\u304b\u3089\u3067\u3059\u3002\u3053\u308c\u306f\u4e00\u822c\u306e\u958b\u767a\u8005\u304c\u64cd\u4f5c\u3067\u304d\u308b\u3082\u306e\u3067\u306f\u306a\u3044\u306e\u3067\u5fc5\u305a\u95a2\u6570\u3092\u5b9a\u7fa9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4e38\u62ec\u5f27\u3092\u5909\u6570\u540d\u306e\u5f8c\u306b\u6307\u5b9a\u3057\u3066\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u306e\u306f\u305d\u306e\u95a2\u6570\u7279\u6709\u306e\u7279\u6b8a\u306a\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u304a\u304b\u3052\u306a\u306e\u3067\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \">add();<\/pre>\n<p>\u306a\u304a\u3001\u3053\u306e\u4ed5\u69d8\u306b\u3064\u3044\u3066\u306fECMAScript\u306e\u4ed5\u69d8\u66f8\u306b\u8f09\u3063\u3066\u3044\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<h2>\u95a2\u6570\u5f0f<\/h2>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u3044\u305f\u5834\u5408\u306f\u300c\u95a2\u6570\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3067\u306f\u306a\u304f<span style=\"color: #ff0000;\"><strong>\u300c\u95a2\u6570\u5f0f\u300d<\/strong><\/span>\u3068\u3044\u3046\u6271\u3044\u306b\u306a\u308a\u307e\u3059\u3002\u5f0f\u306a\u306e\u3067\u5909\u6570\u306b\u4ee3\u5165\u3057\u306a\u3044\u3068\u4f7f\u3048\u307e\u305b\u3093\u3002<\/p>\n<h3>\u540d\u524d\u4ed8\u304d\u95a2\u6570\u5f0f<\/h3>\n<pre class=\"lang:default decode:true\">const aaa = function add (a,b) {\r\n return a+ b;\r\n};<\/pre>\n<p>\u7121\u540d\u95a2\u6570\u3068\u6bd4\u3079\u3066\u30c7\u30d0\u30c3\u30b0\u3059\u308b\u3068\u304d\u306b\u3044\u3044\u611f\u3058\u3067\u8868\u793a\u3057\u3066\u304f\u308c\u307e\u3059\u3002\u30c7\u30d0\u30c3\u30b0\u30c8\u30ec\u30fc\u30b9\u3067\u3069\u3053\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u304b\u95a2\u6570\u540d\u307e\u3067\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u51fa\u529b\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<h3>\u7121\u540d\u95a2\u6570\uff08\u533f\u540d\u95a2\u6570\u3068\u3082\u547c\u3070\u308c\u308b\u3053\u3068\u3082\u3042\u308b\uff09<\/h3>\n<p>\u6b63\u76f4\u3001\u95a2\u6570\u5f0f\u306f\u540d\u524d\u304c\u4e0d\u8981\u306a\u306e\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3082\u8a18\u8ff0\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">const aaa = function (a,b) {\r\n return a+ b;\r\n};<\/pre>\n<p>\u306a\u304a\u3001\u7121\u540d\u95a2\u6570\u306f<span style=\"color: #ff0000;\"><strong>\u30a2\u30ed\u30fc\u95a2\u6570<\/strong><\/span>\u306b\u66f8\u304d\u63db\u3048\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002\uff08\u3068\u3044\u3046\u304b\u4eca\u306f\u3053\u308c\u304c\u4e3b\u6d41\u3067\u3059\u3002\uff09<\/p>\n<h2>\u95a2\u6570\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u95a2\u6570\u5f0f\u306f\u3069\u3061\u3089\u3092\u4f7f\u3048\u3070\u826f\u3044\u306e\u304b\uff1f<\/h2>\n<p>\u3069\u3061\u3089\u306b\u3082\u30e1\u30ea\u30c3\u30c8\u306f\u3042\u308b\u306e\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3067\u304d\u308b\u3060\u3051\u7d71\u4e00\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002\u73fe\u72b6\u306f\u95a2\u6570\u5f0f\u306e\u65b9\u304c\u4e3b\u6d41\u306e\u3088\u3046\u306a\u6c17\u304c\u3057\u307e\u3059\u3002<\/p>\n<h3>\u4e8c\u3064\u306e\u9055\u3044<\/h3>\n<p>\u5dfb\u304d\u4e0a\u3052\u3089\u308c\u308b\u304b\u5dfb\u304d\u4e0a\u3052\u3089\u308c\u306a\u3044\u304b\u3002<\/p>\n<p>\u95a2\u6570\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u5dfb\u304d\u4e0a\u3052\u3089\u308c\u307e\u3059\u3057\u3001\u95a2\u6570\u5f0f\u306f\u5dfb\u304d\u4e0a\u3052\u3089\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u95a2\u6570\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u95a2\u6570\u5ba3\u8a00\u306e\u524d\u306b\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\uff08JavaScript\u30a8\u30f3\u30b8\u30f3\u306b\u3088\u3063\u3066\u5dfb\u304d\u4e0a\u3052\u3089\u308c\u3066\u5148\u982d\u306b\u6301\u3063\u3066\u3044\u304f\u304b\u3089\u3067\u3059\u3002\uff09<\/p>\n<pre class=\"lang:default decode:true\">add(); \/\/ OK\r\nfunction add (a,b) {\r\n return a+ b;\r\n}<\/pre>\n<p>\u9006\u306b\u3001\u95a2\u6570\u5f0f\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u306a\u3044\u3068\u3044\u3051\u307e\u305b\u3093\u3002<\/p>\n<pre class=\"lang:default decode:true \">aaa(); \/\/ NG\r\nconst aaa = function (a,b) {\r\n return a+ b;\r\n};\r\naaa(); \/\/ OK<\/pre>\n<h3>\u95a2\u6570\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30e1\u30ea\u30c3\u30c8<\/h3>\n<p>\u95a2\u6570\u304c\u4e00\u3064\u306e\u6587\u3068\u3057\u3066\u72ec\u7acb\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u53ef\u8aad\u6027\u304c\u9ad8\u3044\u3002<\/p>\n<h3>\u95a2\u6570\u5f0f\u306e\u30e1\u30ea\u30c3\u30c8<\/h3>\n<ul>\n<li>\u5fc5\u305a\u4e0a\u3092\u898b\u308c\u3070\u95a2\u6570\u304c\u66f8\u3044\u3066\u3042\u308b\u3002<\/li>\n<li>const\u3092\u4f7f\u3048\u3066\u518d\u4ee3\u5165\u3092\u9632\u3052\u308b\u3002<\/li>\n<\/ul>\n<p>JavaScript\u3067\u540c\u3058\u3088\u3046\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u305f\u304f\u3055\u3093\u5b9a\u7fa9\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u5197\u9577\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u305d\u308c\u3092\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306b\u3055\u307e\u3056\u307e\u306a\u69cb\u6587\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30d5\u30a1\u30af\u30c8\u30ea\u95a2\u6570<\/h2>\n<pre class=\"lang:default decode:true\">const PersonFactory = (name, age) =&gt; {\r\n  return {\r\n    name,\r\n    age,\r\n  };\r\n};<\/pre>\n<h3>\u4f7f\u3046<\/h3>\n<pre class=\"lang:default decode:true\">const person1 = PersonFactory(\"\u592a\u90ce\",32);\r\nconst person2 = PersonFactory(\"\u6b21\u90ce\",32);<\/pre>\n<h2>\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u95a2\u6570<\/h2>\n<p>JavaScript\u3067\u306f\u30d5\u30a1\u30af\u30c8\u30ea\u95a2\u6570\u306e\u3088\u3046\u306a\u66f8\u304d\u65b9\u3092\u975e\u5e38\u306b\u3088\u304f\u4f7f\u3046\u306e\u3067\u4e00\u822c\u7684\u306b\u306f\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u95a2\u6570\u3092\u3088\u304f\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">const PersonConstructor = function (name, age) {\r\n  \/\/ this = {}; \u304c\u7701\u7565\u3055\u308c\u3066\u3044\u308b\u3002\r\n  this.name = name;\r\n  this.age = age;\r\n  \/\/ return this\u304c\u7701\u7565\u3055\u308c\u308b\u3002\r\n};<\/pre>\n<p>JavaScript\u304c\u5185\u90e8\u7684\u306bthis\u3068\u3044\u3046\u7a7a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u751f\u6210\u3057\u3066\u8fd4\u3057\u3066\u304f\u308c\u307e\u3059\u3002\u6ce8\u610f\u70b9\u3068\u3057\u3066\u306f<span style=\"color: #ff0000;\"><strong>\u30a2\u30ed\u30fc\u95a2\u6570\u306f\u4f7f\u3048\u306a\u3044<\/strong><\/span>\u3053\u3068\u3067\u3059\u3002<\/p>\n<h3>\u547c\u3073\u51fa\u3057\u65b9<\/h3>\n<pre class=\"lang:default decode:true\">const person1 = new PersonConstructor(\"\u592a\u90ce\", 32);\r\nconst person2 = new PersonConstructor(\"\u6b21\u90ce\", 33);<\/pre>\n<h2>\u30a2\u30ed\u30fc\u95a2\u6570\u3068\u306f\uff1f<\/h2>\n<p>ECMAScript2015\u306b\u3066\u3001\u8ffd\u52a0\u3055\u308c\u305f\u6a5f\u80fd\u3067\u3001<span style=\"color: #ff0000;\"><strong>\u300c<\/strong><strong>\u95a2\u6570\u30ea\u30c6\u30e9\u30eb\u300d\u3092\u3088\u308a\u30b7\u30f3\u30d7\u30eb\u306b\u8a18\u8ff0\u3059\u308b<\/strong><\/span>\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u95a2\u6570\u30ea\u30c6\u30e9\u30eb<\/strong><\/span>\u306b\u95a2\u3057\u3066\u306f\u3001\u4e0b\u8a18\u306e\u8a18\u4e8b\u3067\u3082\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"8gBTVxBXcs\"><p><a href=\"http:\/\/www.code-magagine.com\/?p=5540\">\u3010JavaScript\u3011\u300c\u95a2\u6570\u30ea\u30c6\u30e9\u30eb(\u533f\u540d\u95a2\u6570)\u300d\u3001\u300c\u5373\u6642\u95a2\u6570\u300d\u3068\u306f\uff1f<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"http:\/\/www.code-magagine.com\/?p=5540&#038;embed=true#?secret=8gBTVxBXcs\" data-secret=\"8gBTVxBXcs\" width=\"500\" height=\"282\" title=\"&#8220;\u3010JavaScript\u3011\u300c\u95a2\u6570\u30ea\u30c6\u30e9\u30eb(\u533f\u540d\u95a2\u6570)\u300d\u3001\u300c\u5373\u6642\u95a2\u6570\u300d\u3068\u306f\uff1f&#8221; &#8212; \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30de\u30ac\u30b8\u30f3\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<h3>\u30a2\u30ed\u30fc\u95a2\u6570\u306e\u8a18\u8ff0\u65b9\u6cd5<\/h3>\n<pre class=\"lang:default decode:true\">(\u5f15\u65701,\u5f15\u65702) =&gt; {\u2026\u51e6\u7406\u5185\u5bb9\u2026};<\/pre>\n<p>\u30a2\u30ed\u30fc\u95a2\u6570\u3067\u306f\u3001function\u3068\u3044\u3046\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u307e\u305b\u3093\u3002<\/p>\n<p>\u307e\u305f\u3001\u95a2\u6570\u672c\u4f53\u304c1\u6587\u306e\u5834\u5408\u306f\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b\u30d6\u30ed\u30c3\u30af\u300c{}\u300d\u3092\u5916\u3057\u3066\u3001\u3055\u3089\u306b\u30b7\u30f3\u30d7\u30eb\u306b\u8a18\u8ff0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">(\u5f15\u65701,\u5f15\u65702) =&gt; \u2026\u51e6\u7406\u5185\u5bb9\u2026;<\/pre>\n<p>\u3055\u3089\u306b\u3001\u5f15\u6570\u304c1\u3064\u306e\u5834\u5408\u306f\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b\u5f15\u6570\u3092\u304f\u304f\u308b\u62ec\u5f27\u3059\u3089\u3082\u7701\u7565\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u306a\u304a\u3001<span style=\"color: #ff0000;\"><strong>\u6700\u5f8c\u306e\u8a55\u4fa1\u306f\u6697\u9ed9\u7684\u306breturn\u3068\u3057\u3066\u623b\u308a\u5024\u304c\u8fd4\u3055\u308b\u306e\u3068\u540c\u69d8\u306e\u52d5\u4f5c\u306b\u306a\u308a\u307e\u3059\u3002<\/strong><\/span><\/p>\n<pre class=\"lang:default decode:true\">\u5f15\u6570 =&gt; \u2026\u51e6\u7406\u5185\u5bb9\u2026;<\/pre>\n<p><span style=\"color: #ff0000;\"><strong>\u203b\u6ce8\u610f\u70b9\u3068\u3057\u3066\u3001\u5f15\u6570\u304c\u306a\u3044\u5834\u5408\u306f\uff08\uff09\u3092\u7701\u7565\u3067\u304d\u307e\u305b\u3093\u3002\u300c() =&gt;\u300d\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/strong><\/span><\/p>\n<h3>\u30a2\u30ed\u30fc\u95a2\u6570\u306e\u30c7\u30e1\u30ea\u30c3\u30c8<\/h3>\n<p>\u30a2\u30ed\u30fc\u95a2\u6570\u3067\u306f<span style=\"color: #ff0000;\"><strong>argment\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u7528\u3059\u308b\u4e8b\u304c\u3067\u304d\u307e\u305b\u3093\u3002<\/strong><\/span>argment\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u95a2\u3057\u3066\u306f\u4e0b\u8a18\u306e\u8a18\u4e8b\u3067\u89e3\u8aac\u3057\u3066\u304a\u308a\u307e\u3059\u306e\u3067\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>http:\/\/www.code-magagine.com\/?p=5432<\/p>\n<h3>this\u306b\u3064\u3044\u3066<\/h3>\n<p>\u30a2\u30ed\u30fc\u95a2\u6570\u3067\u306f\u3001this\u306f\u30a2\u30ed\u30fc\u95a2\u6570\u81ea\u8eab\u304c\u5ba3\u8a00\u3055\u308c\u305f\u5834\u6240\u306b\u3088\u3063\u3066\u6c7a\u307e\u308a\u307e\u3059\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001\u30a4\u30d9\u30f3\u30c8\u30ea\u30b9\u30ca\u30fc\u7b49\u3067\u306f\u3001\u672c\u6765\u306fthis\u306f\u3001\u30a4\u30d9\u30f3\u30c8\u306e\u767a\u751f\u5143\u3092\u5909\u6570\u3068\u3057\u3066\u4f7f\u3044\u307e\u3059\u304c\u3001\u30a4\u30d9\u30f3\u30c8\u30ea\u30b9\u30ca\u30fc\u5185\u3067\u3082\u3001this\uff08\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u305d\u306e\u3082\u306e\uff09\u3068\u3057\u3066\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3092\u30a2\u30ed\u30fc\u95a2\u6570\u306e<span style=\"color: #ff0000;\"><strong>\u300cthis\u306e\u56fa\u5b9a\u5316\u300d<\/strong><\/span>\u306e\u6a5f\u80fd\u3068\u547c\u3073\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #ff0000;\"><strong>this\u30ad\u30fc\u30ef\u30fc\u30c9<\/strong><\/span>\u306b\u3064\u3044\u3066\u306f\u3001\u4e0b\u8a18\u306e\u8a18\u4e8b\u3067\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"iPaS2x0f9m\"><p><a href=\"http:\/\/www.code-magagine.com\/?p=5457\">\u3010JavaScript\u3011\u300cthis\u30ad\u30fc\u30ef\u30fc\u30c9\u300d\u306b\u3064\u3044\u3066<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"http:\/\/www.code-magagine.com\/?p=5457&#038;embed=true#?secret=iPaS2x0f9m\" data-secret=\"iPaS2x0f9m\" width=\"500\" height=\"282\" title=\"&#8220;\u3010JavaScript\u3011\u300cthis\u30ad\u30fc\u30ef\u30fc\u30c9\u300d\u306b\u3064\u3044\u3066&#8221; &#8212; \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30de\u30ac\u30b8\u30f3\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"\u95a2\u6570\u30aa\u30d6\u30b8\u30a7\u30af\u30c8 JavaScript\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u95a2\u6570\u3082\u5909\u6570\u306b\u4ee3\u5165\u3067\u304d\u305f\u308a\u3057\u307e\u3059\u304c\u3001\u95a2\u6570\u81ea\u4f53\u3082\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u306a\u308a\u307e\u3059\u3002 function add (a,b) { return a+ b; } \u3053\u3046\u3059\u308b\u3068add\u3068\u3044\u3046\u5909\u6570 [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[],"_links":{"self":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/17957"}],"collection":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=17957"}],"version-history":[{"count":17,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/17957\/revisions"}],"predecessor-version":[{"id":20265,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/17957\/revisions\/20265"}],"wp:attachment":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17957"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17957"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}