Fixed typo - line 7 (#30416)
* Fixed typo - line 7 Changed "Booleans are a primitive datatype" to "Boolean is a primitive datatype" Boolean is singular. It is a datatype. * Update index.mdpull/30972/head^2
parent
ae5d0e87e6
commit
2e806b4e15
|
@ -4,7 +4,7 @@ title: Boolean
|
|||
|
||||
## Boolean
|
||||
|
||||
Booleans are a primitive data type commonly used in computer programming languages. By definition, a boolean has two possible values: `true` or `false`.
|
||||
Boolean is a primitive data type commonly used in computer programming languages. By definition, a boolean has two possible values: `true` or `false`.
|
||||
|
||||
In Javascript, there is often implicit type coercion to boolean. If, for example, you have an if statement which checks a certain expression, that expression will be coerced to a boolean:
|
||||
|
||||
|
|
Loading…
Reference in New Issue