file0.js `>U�]U о��]U // hogeが実際に宣言されたかどうかをチェックします。 typeof hoge !== 'undefined' // Object.prototype.toStringは標準形式の文字列を返すため、型の判断にこれが使えます。 Object.prototype.toString.call("hoge"); // "[object String]" Object.prototype.toString.call(new String("hoge")); // "[object String]" Object.prototype.toString.call(1.0); // "[object Number]" Object.prototype.toString.call(new Number(1.0)); // "[object Number]" O