Update README.md

pull/59/head
Mahin Sagotra 5 years ago
parent 0804b4d091
commit e5575f548f

@ -104,9 +104,9 @@ Constants are similar to variables, with two exceptions:
## Data Types
Variables can store many different types of values, like numbers and text. These various types of values are known as the **data type**. Data types are an important part of software development because it helps developers make decisions on how the code should be written and how the software should run. Furthermore, some data types have unique features that help transform or extract additional information in a value.
Variables can store many different types of values, like `numbers` and `text`. These various types of values are known as the **Data type**. Data types are an important part of software development because it helps developers make decisions on how the code should be written and how the software should run. Furthermore, some data types have unique features that help transform or extract additional information in a value.
✅ Data Types are also referred to as JavaScript data primitives, as they are the lowest-level data types that are provided by the language. There are 6 primitive data types: string, number, bigint, boolean, undefined, and symbol. Take a minute to visualize what each of these primitives might represent. What is a `zebra`? How about `0`? `true`?
✅ Data Types are also referred to as JavaScript data primitives, as they are the lowest-level data types that are provided by the language. There are 6 primitive data types: **string**, **number**, **bigint**, **boolean**, **undefined**, and **symbol**. Take a minute to visualize what each of these primitives might represent. What is a `zebra`? How about `0`? `true`?
### Numbers
@ -169,7 +169,7 @@ let myString2 = "World";
You can achieve your formatting goals with either method, but template literals will respect any spaces and line breaks.
✅ When would you use a template literal vs. a plain string?
✅ When would you use a `template literal` vs. a `plain string`?
### Booleans

Loading…
Cancel
Save