JavaScript Boolean constructor property
- Previous page constructor
- Next page prototype
- Return to the previous level JavaScript Boolean Referentie Handboek
定义和用法
constructor
属性返回创建 Boolean 原型的函数。
对于 JavaScript 布尔值,constructor
属性返回:
function Boolean() { [native code] }
语法
boolean.constructor
技术细节
返回值: | function Boolean() { [native code] } |
---|---|
JavaScript 版本: | ECMAScript 1 |
浏览器支持
所有浏览器都完全支持 Boolean.constructor
:
Chrome | IE | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
Chrome | IE | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support | Support |
Related pages
Tutorial:JavaScript boolean
Tutorial:JavaScript data types
Tutorial:JavaScript object constructor
- Previous page constructor
- Next page prototype
- Return to the previous level JavaScript Boolean Referentie Handboek