{"id":74,"date":"2014-01-17T05:38:26","date_gmt":"2014-01-16T20:38:26","guid":{"rendered":"http:\/\/lovelinux.mydns.jp\/?p=74"},"modified":"2014-04-01T13:24:12","modified_gmt":"2014-04-01T04:24:12","slug":"javascript%e3%81%a7%e6%b1%8e%e7%94%a8%e3%82%b3%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%8d%e3%83%b3%e3%83%88%e3%82%92%e4%bd%9c%e3%82%8b","status":"publish","type":"post","link":"https:\/\/lovelinux.mydns.jp\/?p=74","title":{"rendered":"JavaScript\u3067\u6c4e\u7528\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u308b"},"content":{"rendered":"<p><script src=\"http:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2014\/01\/common-20140117.js\" ><\/script><br \/>\n<script src=\"http:\/\/lovelinux.mydns.jp\/wp-content\/uploads\/2014\/01\/testtcommon-20140117.js\" ><\/script><br \/>\n<script src=\"http:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.10.2\/jquery.min.js\"><\/script><\/p>\n<p>\u3061\u3087\u3063\u3068\u3057\u305fJavaScript\u306e\u30c6\u30af\u30cb\u30c3\u30af\u306e\u3054\u7d39\u4ecb\u3002<br \/>\nJavaScript\u3092\u591a\u7528\u3059\u308b\u3088\u3046\u306aWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u66f8\u3044\u3066\u3044\u308b\u3068\u3001\u3088\u304f\u5229\u7528\u3059\u308b\u6c4e\u7528\u7684\u306a\u95a2\u6570\u306a\u3093\u304b\u304c\u51fa\u3066\u304f\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u305f\u3060\u5358\u306bJS\u30d5\u30a1\u30a4\u30eb\u306b\u3000function\u3092\u5b9a\u7fa9\u3057\u3066\u3057\u307e\u3046\u3068\u3001\u30b0\u30ed\u30fc\u30d0\u30ebfunction\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u5c0f\u3055\u306a\u30b5\u30a4\u30c8\u306a\u3089\u3053\u308c\u3067\u554f\u984c\u306a\u3044\u30b1\u30fc\u30b9\u304c\u591a\u3044\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u3001\u4e2d\u898f\u6a21\u3050\u3089\u3044\u306b\u306a\u308b\u3068\u540d\u524d\u304c\u30d0\u30c3\u30c6\u30a3\u30f3\u30b0\u3057\u305f\u308a\u3057\u3066\u3001\u554f\u984c\u304c\u767a\u751f\u3057\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u3093\u306a\u3053\u3093\u306a\u3067\u3001JavaScript\u3067\u6c4e\u7528\u7684\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u308a\u3001\u540d\u524d\u306e\u30d0\u30c3\u30c6\u30a3\u30f3\u30b0\u3001\u30b0\u30ed\u30fc\u30d0\u30ebfunction\u306b\u306a\u308b\u306e\u3092\u907f\u3051\u3064\u3064\u3001\u4fbf\u5229\u306b\u4f7f\u3044\u307e\u3057\u3087\u3046\u7684\u306a\u30c6\u30af\u30cb\u30c3\u30af\u3067\u3059\u3002<\/p>\n<h3>\u30c6\u30b9\u30c8\u3057\u3066\u307f\u3088\u3046\uff01<\/h3>\n<p>\u3053\u3053\u3067\u5b9f\u969b\u306b\u30c6\u30b9\u30c8\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><button id=\"btnNormal\" class=\"btn btn-primary\">new Date()<\/button> <\/p>\n<p><button id=\"btnUseComponent\"  class=\"btn btn-primary\">new Date()\u3092yyyy\/MM\/dd\u5316<\/button><\/p>\n<h3>\u30c6\u30b9\u30c8\u7528HTML<\/h3>\n<p>[html]<br \/>\n&lt;button id=&#8221;btnNormal&#8221;  class=&#8221;btn btn-primary&#8221;&gt;new Date()&lt;\/button&gt; &lt;br&gt;<br \/>\n&lt;button id=&#8221;btnUseComponent&#8221;  class=&#8221;btn btn-primary&#8221;&gt;new Date()\u3092yyyy\/MM\/dd\u5316&lt;\/button&gt;<br \/>\n[\/html]<\/p>\n<h3>\u3053\u3061\u3089\u304c\u30c6\u30b9\u30c8\u7528\u30b9\u30af\u30ea\u30d7\u30c8<\/h3>\n<p>[javascript mark=&#8221;9&#8243;]<\/p>\n<p>jQuery(function($){<\/p>\n<p>\t$(&#8220;#btnNormal&#8221;).click(function(){<br \/>\n\t\talert(new Date());<br \/>\n\t});<\/p>\n<p>\t$(&#8220;#btnUseComponent&#8221;).click(function(){<br \/>\n\t\t\/\/new \u306f\u3057\u306a\u3044\u3001\u5373\u6642\u5b9f\u884c<br \/>\n\t\tvar dtStr = Common.getFormatDate(new Date());<br \/>\n\t\talert(dtStr);<br \/>\n\t});<\/p>\n<p>});<\/p>\n<p>[\/javascript]<\/p>\n<h3>\u30dd\u30a4\u30f3\u30c8\u8aac\u660e\uff01<\/h3>\n<p>\u4e0a\u8a18\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u30cf\u30a4\u30e9\u30a4\u30c8\u3055\u308c\u305f\u90e8\u5206\u3001\u3064\u307e\u308a<\/p>\n<p>Common.getFormatDate(new Date());<\/p>\n<p>\u3053\u306e\u90e8\u5206\u304c\u6c4e\u7528\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u547c\u3073\u51fa\u3057\u3067\u3059\u3002<\/p>\n<p>Common\u3068\u306f\u3001\u4ee5\u4e0b\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u304a\u308a\u3001<\/p>\n<ul>\n<li>function convertNum(num, keta)<\/li>\n<li>function getDate(dateStr)<\/li>\n<li>function getFormatDate(rcvDate, rcvFormat)<\/li>\n<\/ul>\n<p>\u306e3\u3064\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u6301\u3063\u3066\u3044\u308b\u3002<br \/>\n\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u3001\u4e0b\u306e\u30bd\u30fc\u30b9\u306e\u6700\u5f8c\u306e\u65b9\u3067 globals\u3068\u3044\u3046\u5909\u6570\u306b\u30bb\u30c3\u30c8\u3057\u3001<br \/>\nvar Common = function(){} \u306e\u623b\u308a\u5024\u3068\u3057\u3066\u3044\u308b\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u6700\u5f8c\u306e\u884c\u306e  }(); \u3053\u306e <b>\uff08\uff09<\/b>\u304c\u3082\u3046\u3072\u3068\u3064\u306e\u809d\u3067\u3001Common\u3092\u5373\u6642\u5b9f\u884c\u95a2\u6570\u306b\u3057\u306a\u3055\u3044\u3068\u3044\u3046\u547d\u4ee4\u3002\u3053\u306e\u3088\u3046\u306b\u3057\u305f\u5834\u5408\u3001\u5229\u7528\u3059\u308b\u5074\u3067\u3001\u3044\u304d\u306a\u308a Common.\u30e1\u30bd\u30c3\u30c9\u540d\u3068\u3057\u3066\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306fCommon\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u3000getFormatDate\u30e1\u30bd\u30c3\u30c9\u3092\u5229\u7528\u3057\u307e\u3057\u305f\u304c\u3002\u6b8b\u308a\u306e\uff12\u3064\u306e\u30e1\u30bd\u30c3\u30c9\u3082\u540c\u69d8\u306e\u547c\u3073\u51fa\u3057\u65b9\u3067\u5229\u7528\u3067\u304d\u307e\u3059\u3002\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u8a00\u8a9e\u306b\u6163\u308c\u3066\u3044\u308b\u4eba\u306a\u3089\u3001new Common().xxxx \u3058\u3083\u306a\u3044\u306e\u304b\uff1f\uff1f\uff1f\u306a\u3069\u3068\u7591\u554f\u3092\u62b1\u304f\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u3053\u3053\u306f new \u3057\u306a\u3044\u3068\u3053\u308d\u304c\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002<\/p>\n<p>var Common = functon(){<\/p>\n<p>    return globals;<br \/>\n}<\/p>\n<p>\u3067\u3001\u623b\u308a\u5024\u306eglobals\u304cJavaScript\u306e\u9023\u60f3\u914d\u5217\u3067\u3042\u308a\u3001\u3053\u3053\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u30e1\u30bd\u30c3\u30c9(function)\u304c\u3064\u3081\u8fbc\u307e\u308c\u3066\u3044\u308b\u5f62\u306b\u306a\u308a\u307e\u3059\u3002\u3061\u3087\u3063\u3068\u96e3\u3057\u304b\u3063\u305f\u3067\u3059\u304b\u306d\uff1f\u3053\u306e\u65b9\u6cd5\u3092\u5229\u7528\u3059\u308b\u3068 Common \u3068\u3044\u3046\u5909\u6570\u81ea\u4f53\u306f\u30b0\u30ed\u30fc\u30d0\u30eb\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u304c\u3001\u305d\u308c\u4ee5\u5916\u306f\u96a0\u853d\u3057\u305f\u5f62\u3067\u5229\u7528\u3067\u304d\u307e\u3059\u306e\u3067\u3001\u4f55\u304b\u3068\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<h3>\u3053\u3061\u3089\u304cJavaScript \u6c4e\u7528\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8<\/h3>\n<p>[js mark=&#8221;1,3,11,25,51,65,66&#8243;]<br \/>\nvar Common = function(){<\/p>\n<p>\tfunction convertNum(num, keta) {<br \/>\n\t\tvar str = String(num);<br \/>\n\t\twhile (str.length < keta) {\n\t\t\tstr = \"0\" + str;\n\t\t}\n\t\treturn str;\n\t}\n\n\tfunction getDate(dateStr){\n\t\tif (dateStr.length != 10){\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\tvar y = dateStr.substr(0,4);\n\t\tvar m = dateStr.substr(5,2);\n\t\tvar d = dateStr.substr(8,2);\n\t\t\n\t\tvar dt = new Date(y,m -1 ,d);\n\t\t\n\t\treturn dt;\n\t}\n\t\n\tfunction getFormatDate(rcvDate, rcvFormat){\n\t\tvar year = rcvDate.getFullYear();  \n\t\tvar month = rcvDate.getMonth() + 1;  \n\t\tvar day = rcvDate.getDate();  \n\t\t  \n\t\tif ( month < 10 ) {  \n\t\t    month = '0' + month;  \n\t\t}  \n\t\tif ( day < 10 ) {  \n\t\t    day = '0' + day;  \n\t\t}  \n\t\t  \n\t\tvar str = '';\n\t\t\n\t\tif (typeof rcvFormat === 'undefined'){\n\t\t\tstr = year + '\/' + month + '\/' + day;\n\t\t}\n\t\telse if (rcvFormat == 'mm\/dd'){\n\t\t\tstr = month + '\/' + day;\n\t\t}\n\t\t\n\t\treturn str;\n\t}\n\t\n\n\t\n\tvar globals = {\n\t\tconvertNum: function(num, keta){\n\t\t\treturn convertNum(num, keta);\n\t\t},\n\t\tgetDate : function(dateStr){\n\t\t\treturn getDate(dateStr);\n\t\t},\n\t\tgetFormatDate : function(rcvDate, rcvFormat){\n\t\t\treturn getFormatDate(rcvDate, rcvFormat);\n\t\t}\n\t\t\n\t}\n\t\n\t\n\treturn globals;\n}(); \/\/\u5373\u6642\u5b9f\u884c\u3068\u3059\u308b\n\n[\/js]\n\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3061\u3087\u3063\u3068\u3057\u305fJavaScript\u306e\u30c6\u30af\u30cb\u30c3\u30af\u306e\u3054\u7d39\u4ecb\u3002 JavaScript\u3092\u591a\u7528\u3059\u308b\u3088\u3046\u306aWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u66f8\u3044\u3066\u3044\u308b\u3068\u3001\u3088\u304f\u5229\u7528\u3059\u308b\u6c4e\u7528\u7684\u306a\u95a2\u6570\u306a\u3093\u304b\u304c\u51fa\u3066\u304f\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u305f\u3060\u5358\u306bJS\u30d5\u30a1\u30a4\u30eb\u306b\u3000function\u3092\u5b9a\u7fa9\u3057\u3066\u3057\u307e\u3046\u3068\u3001\u30b0\u30ed\u30fc\u30d0\u30ebfunction\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u5c0f\u3055\u306a\u30b5\u30a4\u30c8\u306a\u3089\u3053\u308c\u3067\u554f\u984c\u306a\u3044\u30b1\u30fc\u30b9\u304c\u591a\u3044\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u3001\u4e2d\u898f\u6a21\u3050\u3089\u3044\u306b\u306a\u308b\u3068\u540d\u524d\u304c\u30d0\u30c3\u30c6\u30a3\u30f3\u30b0\u3057\u305f\u308a\u3057\u3066\u3001\u554f\u984c\u304c\u767a\u751f\u3057\u305f\u308a\u3057\u307e\u3059\u3002 \u305d\u3093\u306a\u3053\u3093\u306a\u3067\u3001JavaScript\u3067\u6c4e\u7528\u7684\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u308a\u3001\u540d\u524d\u306e\u30d0\u30c3\u30c6\u30a3\u30f3\u30b0\u3001\u30b0\u30ed\u30fc\u30d0\u30ebfunction\u306b\u306a\u308b\u306e\u3092\u907f\u3051\u3064\u3064\u3001\u4fbf\u5229\u306b\u4f7f\u3044\u307e\u3057\u3087\u3046\u7684\u306a\u30c6\u30af\u30cb\u30c3\u30af\u3067\u3059\u3002 \u30c6\u30b9\u30c8\u3057\u3066\u307f\u3088\u3046\uff01 \u3053\u3053\u3067\u5b9f\u969b\u306b\u30c6\u30b9\u30c8\u3067\u304d\u307e\u3059\u3002 new Date() new Date()\u3092yyyy\/MM\/dd\u5316 \u30c6\u30b9\u30c8\u7528HTML [html] &lt;button id=&#8221;btnNormal&#8221; class=&#8221;btn btn-primary&#8221;&gt;new Date()&lt;\/button&gt; &lt;br&gt; &lt;button id=&#8221;btnUseComponent&#8221; class=&#8221;btn btn-primary&#8221;&gt;new Date()\u3092yyyy\/MM\/dd\u5316&lt;\/button&gt; [\/html] \u3053\u3061\u3089\u304c\u30c6\u30b9\u30c8\u7528\u30b9\u30af\u30ea\u30d7\u30c8 [javascript mark=&#8221;9&#8243;] jQuery(function($){ $(&#8220;#btnNormal&#8221;).click(function(){ alert(new Date()); }); $(&#8220;#btnUseComponent&#8221;).click(function(){ \/\/new \u306f\u3057\u306a\u3044\u3001\u5373\u6642\u5b9f\u884c var dtStr = Common.getFormatDate(new Date()); alert(dtStr); }); }); [\/javascript] \u30dd\u30a4\u30f3\u30c8\u8aac\u660e\uff01 \u4e0a\u8a18\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u30cf\u30a4\u30e9\u30a4\u30c8\u3055\u308c\u305f\u90e8\u5206\u3001\u3064\u307e\u308a Common.getFormatDate(new Date()); \u3053\u306e\u90e8\u5206\u304c\u6c4e\u7528\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u547c\u3073\u51fa\u3057\u3067\u3059\u3002 Common\u3068\u306f\u3001\u4ee5\u4e0b\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u304a\u308a\u3001 function convertNum(num, keta) function getDate(dateStr) function getFormatDate(rcvDate, rcvFormat) \u306e3\u3064\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u6301\u3063\u3066\u3044\u308b\u3002 \u3053\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u3001\u4e0b\u306e\u30bd\u30fc\u30b9\u306e\u6700\u5f8c\u306e\u65b9\u3067 globals\u3068\u3044\u3046\u5909\u6570\u306b\u30bb\u30c3\u30c8\u3057\u3001 var Common = function(){} \u306e\u623b\u308a\u5024\u3068\u3057\u3066\u3044\u308b\u3002 \u305d\u3057\u3066\u3001\u6700\u5f8c\u306e\u884c\u306e }(); \u3053\u306e \uff08\uff09\u304c\u3082\u3046\u3072\u3068\u3064\u306e\u809d\u3067\u3001Common\u3092\u5373\u6642\u5b9f\u884c\u95a2\u6570\u306b\u3057\u306a\u3055\u3044\u3068\u3044\u3046\u547d\u4ee4\u3002\u3053\u306e\u3088\u3046\u306b\u3057\u305f\u5834\u5408\u3001\u5229\u7528\u3059\u308b\u5074\u3067\u3001\u3044\u304d\u306a\u308a Common.\u30e1\u30bd\u30c3\u30c9\u540d\u3068\u3057\u3066\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 \u4eca\u56de\u306fCommon\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u3000getFormatDate\u30e1\u30bd\u30c3\u30c9\u3092\u5229\u7528\u3057\u307e\u3057\u305f\u304c\u3002\u6b8b\u308a\u306e\uff12\u3064\u306e\u30e1\u30bd\u30c3\u30c9\u3082\u540c\u69d8\u306e\u547c\u3073\u51fa\u3057\u65b9\u3067\u5229\u7528\u3067\u304d\u307e\u3059\u3002\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u8a00\u8a9e\u306b\u6163\u308c\u3066\u3044\u308b\u4eba\u306a\u3089\u3001new Common().xxxx \u3058\u3083\u306a\u3044\u306e\u304b\uff1f\uff1f\uff1f\u306a\u3069\u3068\u7591\u554f\u3092\u62b1\u304f\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u3053\u3053\u306f new \u3057\u306a\u3044\u3068\u3053\u308d\u304c\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002 var Common = functon(){ return globals; } \u3067\u3001\u623b\u308a\u5024\u306eglobals\u304cJavaScript\u306e\u9023\u60f3\u914d\u5217\u3067\u3042\u308a\u3001\u3053\u3053\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u30e1\u30bd\u30c3\u30c9(function)\u304c\u3064\u3081\u8fbc\u307e\u308c\u3066\u3044\u308b\u5f62\u306b\u306a\u308a\u307e\u3059\u3002\u3061\u3087\u3063\u3068\u96e3\u3057\u304b\u3063\u305f\u3067\u3059\u304b\u306d\uff1f\u3053\u306e\u65b9\u6cd5\u3092\u5229\u7528\u3059\u308b\u3068 Common \u3068\u3044\u3046\u5909\u6570\u81ea\u4f53\u306f\u30b0\u30ed\u30fc\u30d0\u30eb\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u304c\u3001\u305d\u308c\u4ee5\u5916\u306f\u96a0\u853d\u3057\u305f\u5f62\u3067\u5229\u7528\u3067\u304d\u307e\u3059\u306e\u3067\u3001\u4f55\u304b\u3068\u4fbf\u5229\u3067\u3059\u3002 \u3053\u3061\u3089\u304cJavaScript \u6c4e\u7528\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8 [js mark=&#8221;1,3,11,25,51,65,66&#8243;] var Common = function(){ function convertNum(num, keta) { var str = String(num); while (str.length < keta) { str = \"0\" + str; } return str; } function getDate(dateStr){ if (dateStr.length != 10){ return null; } var y = dateStr.substr(0,4); var m = dateStr.substr(5,2); var d = dateStr.substr(8,2); var dt = new Date(y,m -1 ,d); return dt; } function getFormatDate(rcvDate, rcvFormat){ var year = rcvDate.getFullYear(); var month = rcvDate.getMonth() + 1; var day = rcvDate.getDate(); if ( month < 10 ) { month = '0' + month; } if ( day < 10 ) { day = '0' + day; } var str = ''; if (typeof rcvFormat === 'undefined'){ str = year + '\/' + month + '\/' + day; } else if (rcvFormat == 'mm\/dd'){ str = month + '\/' + day; } return str; } var globals = { convertNum: function(num, keta){ return convertNum(num, keta); }, getDate : function(dateStr){ return getDate(dateStr); }, getFormatDate : function(rcvDate, rcvFormat){ return getFormatDate(rcvDate, rcvFormat); } } return globals; }(); \/\/\u5373\u6642\u5b9f\u884c\u3068\u3059\u308b [\/js]\n<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[2],"tags":[28],"class_list":{"0":"post-74","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-2","7":"tag-javascript-2"},"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"JavaScript\u306f \u6a19\u6e96\u3067Class\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u958b\u767a\u306e\u898f\u6a21\u304c\u5927\u304d\u304f\u306a\u308c\u3070\u306a\u308b\u307b\u3069\u3001\u540d\u524d\u306e\u30d0\u30c3\u30c6\u30a3\u30f3\u30b0\u7b49\u3042\u308c\u3053\u308c\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u52a0\u3048\u3066\u3001function\u304c\u3069\u3053\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u306e\u304b\u308f\u304b\u3089\u306a\u3044\u3068\u8a00\u3063\u305f\u3088\u3046\u306a\u73fe\u8c61\u3082\u767a\u751f\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u3088\u304f\u9063\u3046\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u7684\u306afunction\u3092\u307e\u3068\u3081\u3066\uff11\u3064\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u3059\u308bJavaScript\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"hiroshi\"\/>\n\t<meta name=\"google-site-verification\" content=\"fo5n0bjUdcitu1FsBTJqqwL580wBLhhCM51IEogDt9Y\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/lovelinux.mydns.jp\/?p=74\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Love Linux | enjoy using linux for programming flatform\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"JavaScript\u3067\u6c4e\u7528\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u308b\" \/>\n\t\t<meta property=\"og:description\" content=\"JavaScript\u306f \u6a19\u6e96\u3067Class\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u958b\u767a\u306e\u898f\u6a21\u304c\u5927\u304d\u304f\u306a\u308c\u3070\u306a\u308b\u307b\u3069\u3001\u540d\u524d\u306e\u30d0\u30c3\u30c6\u30a3\u30f3\u30b0\u7b49\u3042\u308c\u3053\u308c\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u52a0\u3048\u3066\u3001function\u304c\u3069\u3053\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u306e\u304b\u308f\u304b\u3089\u306a\u3044\u3068\u8a00\u3063\u305f\u3088\u3046\u306a\u73fe\u8c61\u3082\u767a\u751f\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u3088\u304f\u9063\u3046\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u7684\u306afunction\u3092\u307e\u3068\u3081\u3066\uff11\u3064\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u3059\u308bJavaScript\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/lovelinux.mydns.jp\/?p=74\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2014-01-16T20:38:26+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2014-04-01T04:24:12+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"JavaScript\u3067\u6c4e\u7528\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u308b\" \/>\n\t\t<meta name=\"twitter:description\" content=\"JavaScript\u306f \u6a19\u6e96\u3067Class\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u958b\u767a\u306e\u898f\u6a21\u304c\u5927\u304d\u304f\u306a\u308c\u3070\u306a\u308b\u307b\u3069\u3001\u540d\u524d\u306e\u30d0\u30c3\u30c6\u30a3\u30f3\u30b0\u7b49\u3042\u308c\u3053\u308c\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u52a0\u3048\u3066\u3001function\u304c\u3069\u3053\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u306e\u304b\u308f\u304b\u3089\u306a\u3044\u3068\u8a00\u3063\u305f\u3088\u3046\u306a\u73fe\u8c61\u3082\u767a\u751f\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u3088\u304f\u9063\u3046\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u7684\u306afunction\u3092\u307e\u3068\u3081\u3066\uff11\u3064\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u3059\u308bJavaScript\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=74#article\",\"name\":\"JavaScript\\u3067\\u6c4e\\u7528\\u30b3\\u30f3\\u30dd\\u30fc\\u30cd\\u30f3\\u30c8\\u3092\\u4f5c\\u308b\",\"headline\":\"JavaScript\\u3067\\u6c4e\\u7528\\u30b3\\u30f3\\u30dd\\u30fc\\u30cd\\u30f3\\u30c8\\u3092\\u4f5c\\u308b\",\"author\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=74#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e7c5ca03ae8cd5b5d36ac0f62f59c26d34fd667afa57dafb4978790c04c5146f?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"hiroshi\"},\"datePublished\":\"2014-01-17T05:38:26+09:00\",\"dateModified\":\"2014-04-01T13:24:12+09:00\",\"inLanguage\":\"en-GB\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=74#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=74#webpage\"},\"articleSection\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0, javascript\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=74#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/lovelinux.mydns.jp\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=2#listItem\",\"name\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=2#listItem\",\"position\":2,\"name\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\",\"item\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=2\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=74#listItem\",\"name\":\"JavaScript\\u3067\\u6c4e\\u7528\\u30b3\\u30f3\\u30dd\\u30fc\\u30cd\\u30f3\\u30c8\\u3092\\u4f5c\\u308b\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=74#listItem\",\"position\":3,\"name\":\"JavaScript\\u3067\\u6c4e\\u7528\\u30b3\\u30f3\\u30dd\\u30fc\\u30cd\\u30f3\\u30c8\\u3092\\u4f5c\\u308b\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?cat=2#listItem\",\"name\":\"\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?author=1#author\",\"url\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?author=1\",\"name\":\"hiroshi\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=74#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e7c5ca03ae8cd5b5d36ac0f62f59c26d34fd667afa57dafb4978790c04c5146f?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"hiroshi\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=74#webpage\",\"url\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=74\",\"name\":\"JavaScript\\u3067\\u6c4e\\u7528\\u30b3\\u30f3\\u30dd\\u30fc\\u30cd\\u30f3\\u30c8\\u3092\\u4f5c\\u308b\",\"description\":\"JavaScript\\u306f \\u6a19\\u6e96\\u3067Class\\u3092\\u30b5\\u30dd\\u30fc\\u30c8\\u3057\\u3066\\u3044\\u306a\\u3044\\u305f\\u3081\\u3001\\u958b\\u767a\\u306e\\u898f\\u6a21\\u304c\\u5927\\u304d\\u304f\\u306a\\u308c\\u3070\\u306a\\u308b\\u307b\\u3069\\u3001\\u540d\\u524d\\u306e\\u30d0\\u30c3\\u30c6\\u30a3\\u30f3\\u30b0\\u7b49\\u3042\\u308c\\u3053\\u308c\\u554f\\u984c\\u304c\\u767a\\u751f\\u3057\\u307e\\u3059\\u3002\\u52a0\\u3048\\u3066\\u3001function\\u304c\\u3069\\u3053\\u306b\\u5b9a\\u7fa9\\u3055\\u308c\\u3066\\u3044\\u308b\\u306e\\u304b\\u308f\\u304b\\u3089\\u306a\\u3044\\u3068\\u8a00\\u3063\\u305f\\u3088\\u3046\\u306a\\u73fe\\u8c61\\u3082\\u767a\\u751f\\u3057\\u307e\\u3059\\u3002\\u4eca\\u56de\\u306f\\u3001\\u3088\\u304f\\u9063\\u3046\\u30e6\\u30fc\\u30c6\\u30a3\\u30ea\\u30c6\\u30a3\\u7684\\u306afunction\\u3092\\u307e\\u3068\\u3081\\u3066\\uff11\\u3064\\u306e\\u30b3\\u30f3\\u30dd\\u30fc\\u30cd\\u30f3\\u30c8\\u306b\\u3059\\u308bJavaScript\\u306e\\u30c6\\u30af\\u30cb\\u30c3\\u30af\\u3092\\u3054\\u7d39\\u4ecb\\u3057\\u307e\\u3059\\u3002\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?p=74#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/?author=1#author\"},\"datePublished\":\"2014-01-17T05:38:26+09:00\",\"dateModified\":\"2014-04-01T13:24:12+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/#website\",\"url\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/\",\"name\":\"Love Linux\",\"description\":\"enjoy using linux for programming flatform\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/lovelinux.mydns.jp\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"JavaScript\u3067\u6c4e\u7528\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u308b","description":"JavaScript\u306f \u6a19\u6e96\u3067Class\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u958b\u767a\u306e\u898f\u6a21\u304c\u5927\u304d\u304f\u306a\u308c\u3070\u306a\u308b\u307b\u3069\u3001\u540d\u524d\u306e\u30d0\u30c3\u30c6\u30a3\u30f3\u30b0\u7b49\u3042\u308c\u3053\u308c\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u52a0\u3048\u3066\u3001function\u304c\u3069\u3053\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u306e\u304b\u308f\u304b\u3089\u306a\u3044\u3068\u8a00\u3063\u305f\u3088\u3046\u306a\u73fe\u8c61\u3082\u767a\u751f\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u3088\u304f\u9063\u3046\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u7684\u306afunction\u3092\u307e\u3068\u3081\u3066\uff11\u3064\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u3059\u308bJavaScript\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","canonical_url":"https:\/\/lovelinux.mydns.jp\/?p=74","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"fo5n0bjUdcitu1FsBTJqqwL580wBLhhCM51IEogDt9Y","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/lovelinux.mydns.jp\/?p=74#article","name":"JavaScript\u3067\u6c4e\u7528\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u308b","headline":"JavaScript\u3067\u6c4e\u7528\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u308b","author":{"@id":"https:\/\/lovelinux.mydns.jp\/?author=1#author"},"publisher":{"@id":"https:\/\/lovelinux.mydns.jp\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/lovelinux.mydns.jp\/?p=74#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/e7c5ca03ae8cd5b5d36ac0f62f59c26d34fd667afa57dafb4978790c04c5146f?s=96&d=mm&r=g","width":96,"height":96,"caption":"hiroshi"},"datePublished":"2014-01-17T05:38:26+09:00","dateModified":"2014-04-01T13:24:12+09:00","inLanguage":"en-GB","mainEntityOfPage":{"@id":"https:\/\/lovelinux.mydns.jp\/?p=74#webpage"},"isPartOf":{"@id":"https:\/\/lovelinux.mydns.jp\/?p=74#webpage"},"articleSection":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0, javascript"},{"@type":"BreadcrumbList","@id":"https:\/\/lovelinux.mydns.jp\/?p=74#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp#listItem","position":1,"name":"Home","item":"https:\/\/lovelinux.mydns.jp","nextItem":{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?cat=2#listItem","name":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"}},{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?cat=2#listItem","position":2,"name":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","item":"https:\/\/lovelinux.mydns.jp\/?cat=2","nextItem":{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?p=74#listItem","name":"JavaScript\u3067\u6c4e\u7528\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u308b"},"previousItem":{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?p=74#listItem","position":3,"name":"JavaScript\u3067\u6c4e\u7528\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u308b","previousItem":{"@type":"ListItem","@id":"https:\/\/lovelinux.mydns.jp\/?cat=2#listItem","name":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"}}]},{"@type":"Person","@id":"https:\/\/lovelinux.mydns.jp\/?author=1#author","url":"https:\/\/lovelinux.mydns.jp\/?author=1","name":"hiroshi","image":{"@type":"ImageObject","@id":"https:\/\/lovelinux.mydns.jp\/?p=74#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/e7c5ca03ae8cd5b5d36ac0f62f59c26d34fd667afa57dafb4978790c04c5146f?s=96&d=mm&r=g","width":96,"height":96,"caption":"hiroshi"}},{"@type":"WebPage","@id":"https:\/\/lovelinux.mydns.jp\/?p=74#webpage","url":"https:\/\/lovelinux.mydns.jp\/?p=74","name":"JavaScript\u3067\u6c4e\u7528\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u308b","description":"JavaScript\u306f \u6a19\u6e96\u3067Class\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u958b\u767a\u306e\u898f\u6a21\u304c\u5927\u304d\u304f\u306a\u308c\u3070\u306a\u308b\u307b\u3069\u3001\u540d\u524d\u306e\u30d0\u30c3\u30c6\u30a3\u30f3\u30b0\u7b49\u3042\u308c\u3053\u308c\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u52a0\u3048\u3066\u3001function\u304c\u3069\u3053\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u306e\u304b\u308f\u304b\u3089\u306a\u3044\u3068\u8a00\u3063\u305f\u3088\u3046\u306a\u73fe\u8c61\u3082\u767a\u751f\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u3088\u304f\u9063\u3046\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u7684\u306afunction\u3092\u307e\u3068\u3081\u3066\uff11\u3064\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u3059\u308bJavaScript\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/lovelinux.mydns.jp\/#website"},"breadcrumb":{"@id":"https:\/\/lovelinux.mydns.jp\/?p=74#breadcrumblist"},"author":{"@id":"https:\/\/lovelinux.mydns.jp\/?author=1#author"},"creator":{"@id":"https:\/\/lovelinux.mydns.jp\/?author=1#author"},"datePublished":"2014-01-17T05:38:26+09:00","dateModified":"2014-04-01T13:24:12+09:00"},{"@type":"WebSite","@id":"https:\/\/lovelinux.mydns.jp\/#website","url":"https:\/\/lovelinux.mydns.jp\/","name":"Love Linux","description":"enjoy using linux for programming flatform","inLanguage":"en-GB","publisher":{"@id":"https:\/\/lovelinux.mydns.jp\/#person"}}]},"og:locale":"en_GB","og:site_name":"Love Linux | enjoy using linux for programming flatform","og:type":"article","og:title":"JavaScript\u3067\u6c4e\u7528\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u308b","og:description":"JavaScript\u306f \u6a19\u6e96\u3067Class\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u958b\u767a\u306e\u898f\u6a21\u304c\u5927\u304d\u304f\u306a\u308c\u3070\u306a\u308b\u307b\u3069\u3001\u540d\u524d\u306e\u30d0\u30c3\u30c6\u30a3\u30f3\u30b0\u7b49\u3042\u308c\u3053\u308c\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u52a0\u3048\u3066\u3001function\u304c\u3069\u3053\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u306e\u304b\u308f\u304b\u3089\u306a\u3044\u3068\u8a00\u3063\u305f\u3088\u3046\u306a\u73fe\u8c61\u3082\u767a\u751f\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u3088\u304f\u9063\u3046\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u7684\u306afunction\u3092\u307e\u3068\u3081\u3066\uff11\u3064\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u3059\u308bJavaScript\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","og:url":"https:\/\/lovelinux.mydns.jp\/?p=74","article:published_time":"2014-01-16T20:38:26+00:00","article:modified_time":"2014-04-01T04:24:12+00:00","twitter:card":"summary_large_image","twitter:title":"JavaScript\u3067\u6c4e\u7528\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u308b","twitter:description":"JavaScript\u306f \u6a19\u6e96\u3067Class\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u958b\u767a\u306e\u898f\u6a21\u304c\u5927\u304d\u304f\u306a\u308c\u3070\u306a\u308b\u307b\u3069\u3001\u540d\u524d\u306e\u30d0\u30c3\u30c6\u30a3\u30f3\u30b0\u7b49\u3042\u308c\u3053\u308c\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u52a0\u3048\u3066\u3001function\u304c\u3069\u3053\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u306e\u304b\u308f\u304b\u3089\u306a\u3044\u3068\u8a00\u3063\u305f\u3088\u3046\u306a\u73fe\u8c61\u3082\u767a\u751f\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u3088\u304f\u9063\u3046\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u7684\u306afunction\u3092\u307e\u3068\u3081\u3066\uff11\u3064\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u3059\u308bJavaScript\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002"},"aioseo_meta_data":{"post_id":"74","title":"JavaScript\u3067\u6c4e\u7528\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u308b","description":"JavaScript\u306f \u6a19\u6e96\u3067Class\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u958b\u767a\u306e\u898f\u6a21\u304c\u5927\u304d\u304f\u306a\u308c\u3070\u306a\u308b\u307b\u3069\u3001\u540d\u524d\u306e\u30d0\u30c3\u30c6\u30a3\u30f3\u30b0\u7b49\u3042\u308c\u3053\u308c\u554f\u984c\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u52a0\u3048\u3066\u3001function\u304c\u3069\u3053\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u306e\u304b\u308f\u304b\u3089\u306a\u3044\u3068\u8a00\u3063\u305f\u3088\u3046\u306a\u73fe\u8c61\u3082\u767a\u751f\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u3088\u304f\u9063\u3046\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u7684\u306afunction\u3092\u307e\u3068\u3081\u3066\uff11\u3064\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u3059\u308bJavaScript\u306e\u30c6\u30af\u30cb\u30c3\u30af\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-08-25 10:57:28","updated":"2025-08-25 10:57:28","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/lovelinux.mydns.jp\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/lovelinux.mydns.jp\/?cat=2\" title=\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\">\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tJavaScript\u3067\u6c4e\u7528\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u308b\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/lovelinux.mydns.jp"},{"label":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","link":"https:\/\/lovelinux.mydns.jp\/?cat=2"},{"label":"JavaScript\u3067\u6c4e\u7528\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u308b","link":"https:\/\/lovelinux.mydns.jp\/?p=74"}],"_links":{"self":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/74","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=74"}],"version-history":[{"count":33,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/74\/revisions"}],"predecessor-version":[{"id":687,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/74\/revisions\/687"}],"wp:attachment":[{"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=74"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=74"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lovelinux.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}