- 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"
推薦閱讀
- DevOps:軟件架構(gòu)師行動指南
- Docker and Kubernetes for Java Developers
- Java完全自學(xué)教程
- Python程序設(shè)計(第3版)
- Android 7編程入門經(jīng)典:使用Android Studio 2(第4版)
- The Computer Vision Workshop
- Spring Cloud、Nginx高并發(fā)核心編程
- Swift 3 New Features
- MATLAB定量決策五大類問題
- Learning Data Mining with R
- Flutter跨平臺開發(fā)入門與實戰(zhàn)
- Building Machine Learning Systems with Python(Second Edition)
- 深入剖析Java虛擬機:源碼剖析與實例詳解(基礎(chǔ)卷)
- Clojure for Machine Learning
- Building a Media Center with Raspberry Pi