1.创建

var myBoolean=new Boolean();

2.方法

toString()把布尔值转换为字符串,并返回结果
valueOf()返回 Boolean 对象的原始值。

3.属性

1.constructor返回对创建此对象的 Boolean 函数的引用

2.prototype向对象添加属性和方法。

Boolean.prototype.方法名=function(){
方法体
}

4.特点

最新文章

  1. mysql出错:Access denied for user 'root'@'localhost' (using password: YES)
  2. java多线程-Semaphore信号量使用
  3. bzoj 1202: [HNOI2005]狡猾的商人 并查集好题
  4. linux 禁止指定账号ssh登陆
  5. 线程同步 Lock接口
  6. linux useradd添加用户
  7. Bootstrap-全局css样式之按钮
  8. JS数组操作常用方法
  9. cmd命令添加一个应用程序到防火墙例外项中
  10. js在函数中未定义的变量的处理
  11. 登录获取token,token参数关联至所有请求的请求体内
  12. 【纪录】Hash about
  13. LeetCode - Top K Frequent Words
  14. 013.Zabbix的Items(监控项)
  15. java.lang.Exception: Socket bind failed: [730048]
  16. @Resource与@Autowired注解的区别
  17. 05_java之方法
  18. Caused by: java.lang.NoClassDefFoundError: javax/el/ELManager
  19. Eclipse equinox implementation of OSGi
  20. 设计模式-观察者模式(Observer Pattern)

热门文章

  1. Qt Python Scriptable Application
  2. RabbitMQ工作模式
  3. Kotlin Tutorials系列文章
  4. redis 5.0.7 源码阅读——动态字符串sds
  5. 机器学习算法——kNN
  6. opencv —— inpaint 图像修补、去除指定区域物体
  7. layui table 表头和内容数据不能对齐
  8. pyinstaller打包报错: RecursionError: maximum recursion depth exceeded 已经解决
  9. JS 重载父页面
  10. MySQL 当记录不存在时插入(insert if not exists、dual )