1/3
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
What is JavaScript?
A high-level, interpreted scripting language primarily used for making web pages interactive.
What is a variable in JavaScript?
A container for storing data values. In JavaScript, you can declare them using var
, let
, or const
.
What is a function in JavaScript?
A block of code designed to perform a particular task. It is executed when "something" invokes it (calls it).
How do you declare a variable in JavaScript?
Variables can be declared using var
, let
, or const
keywords, followed by the variable name and an optional assignment of a value (e.g., let x = 10;
).