Skip to content

How to check in JavaScript if a value is primitive boolean (true or false)

License

Notifications You must be signed in to change notification settings

leta91/js-boolean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

From the JavaScript Algorithms and Data Structures Certification by freeCodeCamp 🚀

Basic Algorithm Scripting Chapter

Exercise number 10 out of 16 💻:

Check if a value is classified as primitive boolean
Primitive Boolean ➡️ a value is either true or false

the word bool (plural bools) ➡️ A Boolean variable, one whose value is either true or false