JavaScript Lingo: Value Types

Subscribers:
10,700,000
Published on ● Video Link: https://www.youtube.com/watch?v=fahY2YY5Atg



Duration: 0:47
16,231 views
153


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.







Tags:
JavaScript (Programming Language)
Mozilla Developer Network
Free Code Camp
Pair Programming
Node.js
AngularJS
MongoDB
SQL
Code
Learn to Code
non-profits
full stack
coding bootcamp
software engineer
open source
Software
Data
System
Technology
Web Development