当前位置: 首页 > 网络学院 > 客户端脚本教程 > JavaScript > JS布尔对象参考

JavaScript
JS 介绍
JS 怎样使用
JS 在哪使用
JS 变量
JS If...Else
JS Switch
JS 操作符
JS Popup Boxes
JS 函数
JS For 循环
JS While 循环
JS Break 循环
JS For...In
JS 事件
JS Try...Catch
JS Throw
JS onerror
JS 特殊字符
JS Guidelines
JS 对象介绍

JavaScript 中的 JS布尔对象参考


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 746 ::
收藏到网摘: n/a

Boolean Object Methods
布尔对象方法

FF: Firefox, N: Netscape, IE: Internet Explorer
FF:火狐,N:网景,IE

Method
方法
Description
描述
FF N IE
toSource() Represents the source code of an object
显示对象的源代码
1 4 -
toString() Converts a Boolean value to a string and returns the result
将布尔值转换为字符串,并且返回结果
1 4 4
valueOf() Returns the primitive value of a Boolean object
返回布尔对象的原始值
1 4 4


Boolean Object Properties
布尔对象属性

Property
属性
Description
描述
FF N IE 
constructor A reference to the function that created the object
所建立对象的函数参考
1 2 4
prototype Allows you to add properties and methods to the object
为对象添加属性和方法
1 2 4

评论 (0) All

登陆 | 还没注册?