← All freeCodeCamp videos

JavaScript Lingo: Value Types

21,707 views 238 likes 2015-08-23 0:48 Watch on YouTube ↗ freeCodeCamp ↗
Web DevelopmentFrontendJavaScript

Chapters

No chapter markers in this video's description.

Show the creator's full description
Learn about the three most basic types of values: booleans, strings, and numbers. A boolean is a true or false value. These words are special and reserved. You can't name a variable "true", because that word is already universal as a boolean (as is "false"). A string is a set of characters that is set between either single (') or double (") quotation marks. This string can be named "true", as long as it's between those quotation marks. Numbers are pretty self-explanatory - a number is a value that consists only of digits, though it can also contain a decimal or a negative sign. ❤️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvented interactive learning: https://scrimba.com/freecodecamp

Description and video by freeCodeCamp.org. This page is an independent companion view; the video is embedded from YouTube.