Back to Course

Introduction to JavaScript

0% Complete
0/0 Steps
  1. JavaScript: Basics
    9Topics
    |
    10 Quizzes
  2. JavaScript: Variables
    9Topics
    |
    10 Quizzes
  3. JavaScript: Conditional Statements
    10Topics
    |
    11 Quizzes
  4. JavaScript: Functions
    10Topics
    |
    11 Quizzes
  5. JavaScript: Scope
    6Topics
    |
    7 Quizzes
  6. JavaScript: Arrays
    11Topics
    |
    12 Quizzes
  7. JavaScript: Loops
    8Topics
    |
    9 Quizzes
  8. JavaScript: High Order Functions
    3Topics
    |
    4 Quizzes
  9. JavaScript: Iterators
    6Topics
    |
    6 Quizzes
Lesson 2, Topic 1
In Progress

JavaScript: Introduction

Yasin Cakal 29 Oct 2021
Lesson Progress
0% Complete

A variable in programming is a container for a value. Variables can be thought of as small containers for information that exists in a computer’s memory. Data stored in variables, such as a username, account number, or even a personalized greeting, can then be found in memory.

Variables also allow us to label data with descriptive names, making our programs easier to understand for both the reader and ourselves.

Variables, in a nutshell, label and store data in memory. Variables can only be used for a few things:

  • Make a variable with a descriptive name.
  • Store or update data in a variable.
  • Refer to or “get” information from a variable.

IMPORTANT NOTE: It is important to understand that variables are not values; they hold values and identify them with a name.

In this lesson, we’ll further go over how to create variables with the var, let, and const keywords.

Responses

Leave a Reply

%d bloggers like this: