{"id":119343,"date":"2022-01-31T22:52:41","date_gmt":"2022-01-31T13:52:41","guid":{"rendered":"https:\/\/anthem00.xsrv.jp\/2023_new_tcd\/?p=119343"},"modified":"2022-05-26T22:13:58","modified_gmt":"2022-05-26T13:13:58","slug":"javascript-typeofdata","status":"publish","type":"post","link":"https:\/\/anthem00.xsrv.jp\/2023_new_tcd\/2022\/01\/javascript-typeofdata.html","title":{"rendered":"\u3010JavaScript\u306e\u5165\u9580\u3011\u30c7\u30fc\u30bf\u578b\u3068typeof\u6f14\u7b97\u5b50"},"content":{"rendered":"<p>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306b\u306f\u3001\u8a00\u8a9e\u3054\u3068\u306e\u30c7\u30fc\u30bf\u306e\u578b\u3068\u3044\u3046\u3082\u306e\u304c\u5b58\u5728\u3057\u307e\u3059\u3002<br \/>\n\u4f8b\u3048\u3070\u3001\u300c9\u300d\u3092\u6570\u5024\u3001\u300c&#8217;\u3053\u3093\u306b\u3061\u306f&#8217;\u300d\u3092\u6587\u5b57\u5217\u3001\u300cfunction(){}\u300d\u3092\u95a2\u6570\u306a\u3069\u3001\u305d\u308c\u305e\u308c\u30c7\u30fc\u30bf\u306e\u7a2e\u985e\u304c\u7570\u306a\u308b\u3088\u3046\u306b\u3001\u3053\u308c\u3089\u306e\u30c7\u30fc\u30bf\u306b\u306f\u305d\u308c\u305e\u308c\u306e\u578b\u304c\u3042\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u6570\u5024\u3092\u6271\u3063\u305f\u8a08\u7b97\u3092\u884c\u3046\u6642\u3084\u3001\u3042\u308b\u6a5f\u80fd\u3092\u6301\u305f\u305b\u305f\u95a2\u6570\u3092\u4f5c\u308b\u6642\u306a\u3069\u3001\u4eca\u5f8c\u5177\u4f53\u7684\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b\u3001\u30c7\u30fc\u30bf\u578b\u306b\u3064\u3044\u3066\u77e5\u3063\u3066\u304a\u304f\u3053\u3068\u306f\u3068\u3066\u3082\u5927\u5207\u3067\u3059\u3002<br \/>\n\u305d\u3053\u3067\u4eca\u56de\u306f\u3001JavaScript\u3067\u6271\u3046\u30c7\u30fc\u30bf\u578b\u306b\u3064\u3044\u3066\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h2 class=\"style2c\">JavaScript\u306e\u30c7\u30fc\u30bf\u578b<\/h2>\n<p>JavaScript\u306e\u30c7\u30fc\u30bf\u578b\u306b\u306f\u3001\u5927\u304d\u304f\u300c\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u578b\u300d\u3068\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b\u300d\u306e2\u3064\u306b\u5206\u3051\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u578b\u306f\u5358\u4e00\u3067\u5909\u5316\u3057\u306a\u3044\u5024\u3092\u6301\u3064\u4e00\u65b9\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b\u306f\u8907\u6570\u306e\u5024\u3092\u6301\u3061\u3001\u5024\u304c\u5909\u5316\u3057\u3066\u3044\u304f\u578b\u3067\u3059\u3002<br \/>\n\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u578b\u4ee5\u5916\u306e\u3082\u306e\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b\u306b\u8a72\u5f53\u3057\u307e\u3059\u3002<\/p>\n<div class=\"s_table\"><table>\n<thead>\n<tr>\n<th align=\"center\">\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u578b<\/th>\n<th align=\"center\">\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\">\u5358\u4e00\u306e\u5024\u3092\u6301\u3064<\/td>\n<td align=\"center\">\u8907\u6570\u306e\u5024\u3092\u6301\u3064<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">\u5024\u306f\u5909\u5316\u3057\u306a\u3044<\/td>\n<td align=\"center\">\u5024\u306f\u5909\u5316\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">\u4f8b\uff1a\u6570\u5024\u306e10\u3001\u6587\u5b57\u5217\u306e&#8217;Hello&#8217;<\/td>\n<td align=\"center\">\u4f8b\uff1a\u914d\u5217\u306e[&#8216;dog&#8217;, &#8216;cat&#8217;, &#8216;bird&#8217;]<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<h3 class=\"style3c\">\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u578b\u306f\u4e0d\u5909\u6027\u306e\u30c7\u30fc\u30bf\u578b<\/h3>\n<p>\u307e\u305a\u3001\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u578b\u306e\u5024\u304c\u5358\u4e00\u3067\u5909\u5316\u3057\u306a\u3044\u3068\u3044\u3046\u70b9\u306b\u7591\u554f\u3092\u6301\u3064\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br \/>\n\u3069\u3046\u3044\u3046\u3053\u3068\u304b\u3068\u8a00\u3046\u3068\u3001\u4f8b\u3048\u3070\u3001\u6570\u5024\u306e\u300c10\u300d\u3068\u300c5\u300d\u306e\u6301\u3064\u610f\u5473\u306f\u3044\u3064\u3082\u540c\u3058\u3067\u300c10 + 5\u300d\u306f\u3001\u5e38\u306b\u300c15\u300d\u306b\u306a\u308b\u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002\u3064\u307e\u308a\u3001\u5024\u305d\u306e\u3082\u306e\u3092\u8868\u3059\u4e0d\u5909\u6027\u306e\u30c7\u30fc\u30bf\u578b\u3068\u8a00\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>let number1 = 10;\r\nlet number2 = 5;\r\n\r\nconsole.log(number1 + number2); \/\/ 15\r\nconsole.log(number1 === 10); \/\/ true\r\nconsole.log(number1 + number2 === 15); \/\/ true\r\n<\/code><\/pre>\n<\/div>\n<p>\u6587\u5b57\u5217\u3067\u4f8b\u3048\u308b\u3068\u3001\u300c&#8217;Hello&#8217;\u300d\u3068\u3001&#8217;Hello, &#8216;\u3068&#8217;World&#8217;\u304c\u9023\u7d50\u3057\u305f\u300c&#8217;Hello, World&#8217;\u300d\u306f\u7570\u306a\u308b\u5024\u306b\u306a\u308a\u307e\u3059\u3002\u5e38\u306b\u5358\u4e00\u306e\u5024\u3092\u6301\u3064\u3068\u3044\u3046\u3053\u3068\u304c\u8a00\u3048\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const sayhello1 = 'Hello';\r\nconst sayhello2 = 'Hello, ' + 'World';\r\n\r\nconsole.log(sayhello1); \/\/ \"Hello\"\r\nconsole.log(sayhello2); \/\/ \"Hello, World\"\r\nconsole.log(sayhello1 === sayhello2); \/\/ false\r\n<\/code><\/pre>\n<\/div>\n<h3 class=\"style3c\">\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b\u306f\u53ef\u5909\u6027\u306e\u30c7\u30fc\u30bf\u578b<\/h3>\n<p>\u3067\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b\u304c\u8907\u6570\u306e\u5024\u3092\u6301\u3061\u3001\u305d\u308c\u3089\u304c\u5909\u5316\u3057\u3066\u3044\u304f\u3068\u3044\u3046\u306e\u306f\u3069\u3046\u3044\u3046\u3053\u3068\u306a\u306e\u3067\u3057\u3087\u3046\u304b\u3002<br \/>\n\u300c[&#8216;dog&#8217;, &#8216;cat&#8217;, &#8216;bird&#8217;]\u300d\u3068\u3044\u3046\u306e\u8907\u6570\u306e\u6587\u5b57\u5217\u306e\u5024\u3092\u6301\u3063\u3066\u3044\u308b\u914d\u5217\u3092\u4f8b\u3068\u3057\u3066\u8003\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\n&#8216;bird&#8217;\u3092&#8217;rabbit&#8217;\u306b\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u3001\u914d\u5217\u306e\u4e2d\u8eab\u304c\u5165\u308c\u66ff\u308f\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u914d\u5217\u81ea\u4f53\u304c\u5909\u5316\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n\u3053\u306e\u3088\u3046\u306a\u3053\u3068\u304b\u3089\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b\u306f\u3001\u53ef\u5909\u6027\u306e\u3042\u308b\u30c7\u30fc\u30bf\u578b\u3068\u3057\u3066\u8a8d\u8b58\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>let pets = ['dog', 'cat', 'bird'];\r\nconsole.log(pets); \/\/ [\"dog\", \"cat\", \"bird\"]\r\n\r\npets = ['dog', 'cat', 'rabbit'];\r\nconsole.log(pets); \/\/ [\"dog\", \"cat\", \"rabbit\"]\r\n<\/code><\/pre>\n<\/div>\n<h2 class=\"style2c\">typeof\u6f14\u7b97\u5b50\u3067\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u578b\u3092\u8abf\u3079\u308b<\/h2>\n<p>\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u578b\u306b\u306f\u3001\u4ee5\u4e0b\u306e7\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<div class=\"s_table\"><table>\n<thead>\n<tr>\n<th align=\"center\">\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u578b<\/th>\n<th align=\"center\">typeof<\/th>\n<th align=\"center\">\u7279\u5fb4<\/th>\n<th align=\"center\">\u4f8b<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\">\u6570\u5024<\/td>\n<td align=\"center\">number<\/td>\n<td align=\"center\">\u6574\u6570\u307e\u305f\u306f\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570<\/td>\n<td align=\"center\">5, 3.14<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">\u6587\u5b57\u5217<\/td>\n<td align=\"center\">string<\/td>\n<td align=\"center\">0\u6587\u5b57\u4ee5\u4e0a\u306e\u6587\u5b57\u306e\u96c6\u307e\u308a<\/td>\n<td align=\"center\">&#8216;Hello&#8217;<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">\u9577\u6574\u6570<\/td>\n<td align=\"center\">bigint<\/td>\n<td align=\"center\">\u6570\u5024\u3067\u6271\u3048\u306a\u3044\u5927\u304d\u306a\u6574\u6570<\/td>\n<td align=\"center\">1n<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">\u771f\u507d\u5024<\/td>\n<td align=\"center\">boolean<\/td>\n<td align=\"center\">\u771f\u304b\u507d\u3067\u3042\u308b\u304b\u3092\u5224\u65ad\u3059\u308b<\/td>\n<td align=\"center\">true, false<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">undefined<\/td>\n<td align=\"center\">undefined<\/td>\n<td align=\"center\">\u5024\u304c\u672a\u5b9a\u7fa9\u3067\u3042\u308b\u3053\u3068\u3092\u793a\u3059<\/td>\n<td align=\"center\">undefined<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">null<\/td>\n<td align=\"center\">object<\/td>\n<td align=\"center\">\u610f\u56f3\u7684\u306b\u5024\u304c\u5b58\u5728\u3057\u306a\u3044\u3053\u3068\u3092\u8868\u3059<\/td>\n<td align=\"center\">null<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">\u30b7\u30f3\u30dc\u30eb<\/td>\n<td align=\"center\">symbol<\/td>\n<td align=\"center\">\u552f\u4e00\u7121\u4e8c\u306e\u30e6\u30cb\u30fc\u30af\u306a\u5024\u3092\u4f5c\u308b<\/td>\n<td align=\"center\">Symbol()<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p>typeof\u6f14\u7b97\u5b50\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u5024\u304c\u3069\u306e\u578b\u306b\u8a72\u5f53\u3059\u308b\u306e\u304b\u8abf\u3079\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>typeof \u578b\u3092\u8abf\u3079\u305f\u3044\u5024\r\n<\/code><\/pre>\n<\/div>\n<p>\u5b9f\u969b\u306btypeof\u6f14\u7b97\u5b50\u3092\u4f7f\u3063\u3066\u3001\u5404\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u306e\u5024\u304c\u3069\u306e\u578b\u306b\u5f53\u3066\u306f\u307e\u308b\u304b\u78ba\u8a8d\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u7d50\u679c\u304c\u51fa\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\/\/ \u6570\u5024\r\nconsole.log(typeof 5); \/\/ \"number\"\r\n\r\n\/\/ \u6587\u5b57\u5217\r\nconsole.log(typeof 'Hello'); \/\/ \"string\"\r\n\r\n\/\/ \u9577\u6574\u6570\r\nconsole.log(typeof 1n); \/\/ \"bigint\"\r\n\r\n\/\/ \u771f\u507d\u5024\r\nconsole.log(typeof true); \/\/ \"boolean\"\r\nconsole.log(typeof false); \/\/ \"boolean\"\r\n\r\n\/\/ undefined\r\nconsole.log(typeof undefined); \/\/ \"undefined\"\r\n\r\n\/\/ null\r\nconsole.log(typeof null); \/\/ \"object\"\r\n\r\n\/\/ \u30b7\u30f3\u30dc\u30eb\r\nconsole.log(typeof Symbol()); \/\/ \"symbol\"\r\n<\/code><\/pre>\n<\/div>\n<h2 class=\"style2c\">typeof\u6f14\u7b97\u5b50\u3067\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b\u3092\u8abf\u3079\u308b<\/h2>\n<p>\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u578b\u3067\u306a\u3044\u3082\u306e\u306f\u3059\u3079\u3066\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u305d\u306e\u305f\u3081\u3001\u591a\u304f\u306e\u7a2e\u985e\u304c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b\u306b\u8a72\u5f53\u3057\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306f\u3001\u4ee3\u8868\u7684\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b\u3067\u3059\u3002<\/p>\n<div class=\"s_table\"><table>\n<thead>\n<tr>\n<th align=\"center\">\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b<\/th>\n<th align=\"center\">typeof<\/th>\n<th align=\"center\">\u7279\u5fb4<\/th>\n<th align=\"center\">\u4f8b<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"center\">\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/td>\n<td align=\"center\">object<\/td>\n<td align=\"center\">\u8907\u6570\u306e\u5024\u3092\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u3057\u3066\u7ba1\u7406\u3059\u308b<\/td>\n<td align=\"center\">[1, 2, 3]<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">\u914d\u5217<\/td>\n<td align=\"center\">object<\/td>\n<td align=\"center\">\u8907\u6570\u306e\u5024\u3092\u30ea\u30b9\u30c8\u3068\u3057\u3066\u7ba1\u7406\u3059\u308b<\/td>\n<td align=\"center\">{id:1, name: &#8216;Tarou&#8217;}<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">\u95a2\u6570<\/td>\n<td align=\"center\">function<\/td>\n<td align=\"center\">\u8907\u6570\u306e\u624b\u7d9a\u304d\u30921\u3064\u306e\u51e6\u7406\u3068\u3057\u3066\u7ba1\u7406\u3059\u308b<\/td>\n<td align=\"center\">function(){}<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">\u65e5\u6642<\/td>\n<td align=\"center\">object<\/td>\n<td align=\"center\">\u65e5\u6642\u3092\u6271\u3046<\/td>\n<td align=\"center\">new Date()<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p>\u3053\u3061\u3089\u3082\u540c\u69d8\u306btypeof\u6f14\u7b97\u5b50\u3092\u4f7f\u3046\u3068\u3001\u3053\u306e\u3088\u3046\u306a\u578b\u306e\u7d50\u679c\u3092\u5f97\u3089\u308c\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\/\/ \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\r\nconsole.log(typeof [1, 2, 3]); \/\/ \"object\"\r\n\r\n\/\/ \u914d\u5217\r\nconsole.log(typeof { id:1, name: 'Tarou' }); \/\/ \"object\"\r\n\r\n\/\/ \u95a2\u6570\r\nfunction saySomething() {\r\n    console.log('hello');\r\n}\r\nconsole.log(typeof saySomething); \/\/ \"function\"\r\n\r\n\/\/ \u65e5\u6642\r\nconsole.log(typeof new Date()); \/\/ \"object\"\r\n<\/code><\/pre>\n<\/div>\n<h2 class=\"style2c\">\u30c7\u30fc\u30bf\u578b\u3092\u610f\u8b58\u3059\u3079\u304d\u7406\u7531<\/h2>\n<p>\u3069\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306b\u3082\u5024\u306e\u578b\u3068\u3044\u3046\u306e\u304c\u5b58\u5728\u3057\u3001\u7279\u5b9a\u306e\u51e6\u7406\u3092\u884c\u3046\u305f\u3081\u306b\u3055\u307e\u3056\u307e\u306a\u5024\u3092\u64cd\u4f5c\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u4e2d\u306b\u306f\u3001\u53b3\u5bc6\u306b\u30c7\u30fc\u30bf\u578b\u3092\u533a\u5225\u3057\u3066\u8868\u73fe\u3059\u308b\u3082\u306e\u3082\u3042\u308a\u307e\u3059\u3002<br \/>\n\u4e00\u65b9\u3001JavaScript\u306f\u3001\u4ed6\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306b\u6bd4\u3079\u308b\u3068\u3001\u30c7\u30fc\u30bf\u578b\u306b\u5bfe\u3057\u3066\u5bdb\u5bb9\u3067\u3059\u3002<br \/>\n\u4f8b\u3048\u3070\u3001\u6570\u5024\u306e\u300c10\u300d\u3068\u6587\u5b57\u5217\u306e\u300c&#8217;10&#8217;\u300d\u304c\u540c\u3058\u5024\u3068\u3057\u3066\u307f\u306a\u3059\u3053\u3068\u3082\u3067\u304d\u308c\u3070\u3001\u533a\u5225\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>let number1 = 10;\r\nlet number2 = '10';\r\n\r\n\/\/ 10\u3068'10'\u3092\u540c\u3058\u3082\u306e\u3068\u307f\u306a\u3059\r\nconsole.log(number1 == number2); \/\/ true\r\n\r\n\/\/ 10\u3068'10'\u3092\u533a\u5225\u3059\u308b\r\nconsole.log(number1 === number2); \/\/ false\r\n<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u306f\u3001\u81ea\u7531\u3067\u826f\u3044\u5074\u9762\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u958b\u767a\u3092\u884c\u3046\u3046\u3048\u3067\u306f\u30c7\u30fc\u30bf\u578b\u3092\u610f\u8b58\u3057\u3066\u3044\u306a\u3044\u304c\u3086\u3048\u306b\u601d\u308f\u306c\u30a8\u30e9\u30fc\u3092\u767a\u751f\u3055\u305b\u308b\u539f\u56e0\u306b\u3082\u306a\u308a\u307e\u3059\u3002<br \/>\n\u305d\u306e\u305f\u3081\u3001\u5e38\u306b\u30c7\u30fc\u30bf\u578b\u306e\u7406\u89e3\u3068\u610f\u8b58\u3092\u6301\u3063\u3066\u304a\u304f\u3053\u3068\u304c\u5927\u5207\u3067\u3059\u3002<\/p>\n<h2 class=\"style2c\">\u307e\u3068\u3081<\/h2>\n<p>\u4eca\u56de\u306f\u3001JavaScript\u306e\u30c7\u30fc\u30bf\u578b\u3068typeof\u6f14\u7b97\u5b50\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u306f\u3058\u3081\u306f\u3001JavaScript\u306e\u57fa\u672c\u3068\u3082\u8a00\u3048\u308b\u300c\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u578b\u300d\u3092\u899a\u3048\u3066\u3001\u305d\u308c\u4ee5\u5916\u306f\u300c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u578b\u300d\u3068\u899a\u3048\u3066\u3044\u308c\u3070\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u307e\u305f\u3001typeof\u6f14\u7b97\u5b50\u3092\u6d3b\u7528\u3057\u3066\u3001\u5404\u30c7\u30fc\u30bf\u578b\u306e\u7d50\u679c\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u306b\u6163\u308c\u3066\u304a\u304f\u306e\u3082\u826f\u3044\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<h2 class=\"style5\">\u5408\u308f\u305b\u3066\u8aad\u307f\u305f\u3044\u30c7\u30fc\u30bf\u578b\u5165\u9580\u30b7\u30ea\u30fc\u30ba<\/h2>\n<p>\u7b2c1\u56de\uff1a<a href=\"https:\/\/anthem00.xsrv.jp\/2023_new_tcd\/2022\/01\/javascript-typeofdata.html\"><strong>\u30c7\u30fc\u30bf\u578b\u3068typeof\u6f14\u7b97\u5b50<\/strong><\/a>\uff08\u5f53\u8a18\u4e8b\uff09<br \/>\n\u7b2c2\u56de\uff1a<a href=\"https:\/\/anthem00.xsrv.jp\/2023_new_tcd\/2021\/05\/javascript-data-primitive.html\"><strong>\u30c7\u30fc\u30bf\u578b -\u30d7\u30ea\u30df\u30c6\u30a3\u30d6<\/strong><\/a><br \/>\n\u7b2c3\u56de\uff1a<a href=\"https:\/\/anthem00.xsrv.jp\/2023_new_tcd\/2021\/05\/javascript-data-object.html\"><strong>\u30c7\u30fc\u30bf\u578b -\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/a><br \/>\n\u7b2c4\u56de\uff1a<a href=\"https:\/\/anthem00.xsrv.jp\/2023_new_tcd\/2022\/02\/javascript-string.html\"><strong>\u6587\u5b57\u5217\u578b\uff08String\uff09<\/strong><\/a><br \/>\n\u7b2c5\u56de\uff1a<a href=\"https:\/\/anthem00.xsrv.jp\/2023_new_tcd\/2022\/02\/javascript-number.html\"><strong>\u6570\u5024\u578b\uff08Number\uff09<\/strong><\/a><br \/>\n\u7b2c6\u56de\uff1a<a href=\"https:\/\/anthem00.xsrv.jp\/2023_new_tcd\/2022\/02\/javascript-boolean.html\"><strong>\u8ad6\u7406\u578b\uff08Boolean\uff09<\/strong><\/a><br \/>\n\u7b2c7\u56de\uff1a<a href=\"https:\/\/anthem00.xsrv.jp\/2023_new_tcd\/2022\/02\/javascript-null-undefined.html\"><strong>null\u578b\u30fbundefined\u578b<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306b\u306f\u3001\u8a00\u8a9e\u3054\u3068\u306e\u30c7\u30fc\u30bf\u306e\u578b\u3068\u3044\u3046\u3082\u306e\u304c\u5b58\u5728\u3057\u307e\u3059\u3002 \u4f8b\u3048\u3070\u3001\u300c9\u300d\u3092\u6570\u5024\u3001\u300c&#8217;\u3053\u3093\u306b\u3061\u306f&#8217;\u300d\u3092\u6587\u5b57\u5217\u3001\u300cfunction(){}\u300d\u3092\u95a2\u6570\u306a\u3069\u3001\u305d\u308c\u305e\u308c\u30c7\u30fc\u30bf\u306e\u7a2e\u985e\u304c\u7570\u306a\u308b\u3088\u3046\u306b\u3001 [&hellip;]","protected":false},"author":1,"featured_media":119513,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[1141],"tags":[964],"class_list":["post-119343","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-javascript-intro","tag-javascript"],"_links":{"self":[{"href":"https:\/\/anthem00.xsrv.jp\/2023_new_tcd\/wp-json\/wp\/v2\/posts\/119343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anthem00.xsrv.jp\/2023_new_tcd\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anthem00.xsrv.jp\/2023_new_tcd\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anthem00.xsrv.jp\/2023_new_tcd\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/anthem00.xsrv.jp\/2023_new_tcd\/wp-json\/wp\/v2\/comments?post=119343"}],"version-history":[{"count":0,"href":"https:\/\/anthem00.xsrv.jp\/2023_new_tcd\/wp-json\/wp\/v2\/posts\/119343\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/anthem00.xsrv.jp\/2023_new_tcd\/wp-json\/wp\/v2\/media\/119513"}],"wp:attachment":[{"href":"https:\/\/anthem00.xsrv.jp\/2023_new_tcd\/wp-json\/wp\/v2\/media?parent=119343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anthem00.xsrv.jp\/2023_new_tcd\/wp-json\/wp\/v2\/categories?post=119343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anthem00.xsrv.jp\/2023_new_tcd\/wp-json\/wp\/v2\/tags?post=119343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}