javascript-variables Flashcards

1
Q

What is a variable?

A

It is a name with stored data in it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why are variables useful?

A

they are reusable information you can re-assign them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What two special characters can a variable begin with?

A

_

$

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you assign a value to a variable?

A

“name” = 3;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you assign a value to a variable?

A

= ;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly