Search
Contents
4.
Data and Variables
4.
Data and Variables
ΒΆ
4.1. Values and Data Types
4.1.1. More On Strings
4.1.2. More On Numbers
4.1.3. Type Systems
4.1.4. Check Your Understanding
4.2. Type Conversion
4.2.1. Check Your Understanding
4.3. Variables
4.3.1. Declaring and Initializing Variables With
let
4.3.2. Evaluating Variables
4.3.3. Reassigning Variables
4.3.4. Check Your Understanding
4.4. More On Variables
4.4.1. Creating Constants With
const
4.4.2. Naming Variables
4.4.2.1. Valid Variable Names
4.4.2.2. Good Variable Names
4.4.2.3. Camel Case Variable Names
4.4.3. Keywords
4.4.4. Check Your Understanding
4.5. Expressions and Evaluation
4.6. Operations
4.6.1. Operators and Operands
4.6.2. Arithmetic Operators
4.6.3. Order of Operations
4.6.4. Check Your Understanding
4.7. Other Operators
4.7.1. The String Operator
+
4.7.2. Compound Assignment Operators
4.8. Input with
readline-sync
4.8.1. Requesting Data
4.8.2. Syntax
4.8.2.1. Load the Module
4.8.2.2. How to Prompt the User
4.8.3. Critical Input Detail
4.8.4. Check Your Understanding
4.9. Exercises: Data and Variables
4.9.1. The Data
4.9.2. The Exercises
4.10. Studio: Data and Variables
4.10.1. Before You Start
4.10.2. Declare and Initialize Variables
4.10.3. Generate the LC04 Form
4.10.3.1. Example Output
4.10.4. Show Off Your Code
4.10.5. Bonus Mission
←
3.6.
Welcome, Novice Coder
4.1.
Values and Data Types
→