www.51chm.com 下表描述了大多数 Microsoft JScript 运算符的操作。行和列分别代表在 JScript 中一个运算符两边可能的不同表达式类型。而表中的各项说明了操作结果。 E 表示运行时间错误。而 N 表示数值结果,如果是逻辑运算符,则表示 Boolean 结果。 objasnsnumboolundefnull objNENNNEE asEEEEEEE nsNENNNEE numNENNNEE boolNENNNEE undefEEEEEEE nullEEEEEEE obj = 对象、as = 包含文字和数字的字符串、ns = 数字字符串、num = 数字、bool = Boolean、undef = undefined、null = null 值。 www.51chm.com
下表描述了大多数 Microsoft JScript 运算符的操作。行和列分别代表在 JScript 中一个运算符两边可能的不同表达式类型。而表中的各项说明了操作结果。 E 表示运行时间错误。而 N 表示数值结果,如果是逻辑运算符,则表示 Boolean 结果。 objasnsnumboolundefnull objNENNNEE asEEEEEEE nsNENNNEE numNENNNEE boolNENNNEE undefEEEEEEE nullEEEEEEE obj = 对象、as = 包含文字和数字的字符串、ns = 数字字符串、num = 数字、bool = Boolean、undef = undefined、null = null 值。
E 表示运行时间错误。而 N 表示数值结果,如果是逻辑运算符,则表示 Boolean 结果。
obj = 对象、as = 包含文字和数字的字符串、ns = 数字字符串、num = 数字、bool = Boolean、undef = undefined、null = null 值。