• 追加された行はこの色です。
  • 削除された行はこの色です。
* 型 [#p5f2886c]
* 型 [#jef8827a]

** 型一覧 [#jb361f3c]
- string
- number
- boolean
- null
- undefined
- Object
-- function
-- Array
-- Date
-- RegExp
#lsx

** typeof演算子の返す値 [#z50b9a8e]
- string
- number
- boolean
- function
- object
- undefined

 typeof [1, 2, 3]     // => "object"

 typeof parseInt("a") // => "number"

** instanceof演算子の挙動 [#b4791a98]

 var obj = {};
 var arr = [];
 
 obj instanceof Object // => true
 obj instanceof Array  // => false
 
 arr instanceof Object // => true
 arr instanceof Array  // => true


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS