日期:2014-05-16 浏览次数:20357 次
?
?
Type? | typeof? | instance? | toString | |
Number? | var n = 1? | number? | false? | [object Number] |
? | var n = Number(1)? | number? | false? | [object Number] |
? | var n = new Number(1)? | object? | true? | [object Number] |
String? | var s = "s"? | string? | false? | [object String] |
? | var s = String("s")? | string? | false? | [object String] |
? | var s = new String("s")? | object? | true? | [object String] |
Boolean? | var b = ture? | boolean? | false? | [object Boolean] |
? | var b = Boolean(true)? | boolean? | false? | [object Boolean] |
? | var b = new Boolean(true)? | object? | true? | [object Boolean] |
null? | var nu = n ull? | object? | false? | [object global] |
undefined? | var u = undefined? | undefined? | false? | [object global] |
Array? | var a = []? | object? | true? | [object Array] |
? | var a = Array()? | object? | true? | [object Array] |
? | var a = new Array()? | object? | true? | [object Array] |
RegExp | var r = /^$/ | function? |
免责声明: 本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
|