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.md
This commit is contained in:
Shruti Grover
2018-12-16 22:33:42 -05:00
committed by Randell Dawson
parent ae5d0e87e6
commit 2e806b4e15

View File

@ -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: