- Object-Oriented JavaScript(Second Edition)
- Stoyan Stefanov Kumar Chetan Sharma
- 57字
- 2021-08-13 16:19:28
Booleans
There are only two values that belong to the Boolean data type: the values true
and false
, used without quotes:
> var b = true; > typeof b; "boolean" > var b = false; > typeof b; "boolean"
If you quote true
or false
, they become strings:
> var b = "true";
> typeof b;
"string"
推薦閱讀
- Qt 5 and OpenCV 4 Computer Vision Projects
- jQuery Mobile Web Development Essentials(Third Edition)
- 解構(gòu)產(chǎn)品經(jīng)理:互聯(lián)網(wǎng)產(chǎn)品策劃入門(mén)寶典
- 微服務(wù)設(shè)計(jì)原理與架構(gòu)
- Node.js Design Patterns
- 深入分布式緩存:從原理到實(shí)踐
- 快速入門(mén)與進(jìn)階:Creo 4·0全實(shí)例精講
- BeagleBone Robotic Projects(Second Edition)
- 代碼閱讀
- 單片機(jī)原理及應(yīng)用技術(shù)
- Learning Nessus for Penetration Testing
- JQuery風(fēng)暴:完美用戶(hù)體驗(yàn)
- 嵌入式Linux C語(yǔ)言程序設(shè)計(jì)基礎(chǔ)教程
- 軟件工程與UML案例解析(第三版)
- Apache Solr PHP Integration