JavaScript Introduction Flashcards

(6 cards)

1
Q

What are the 8 fundamental Data types in JavaScript?

A

numbers, BigInts, strings, booleans, null, undefined, symbols, and Objects.
.

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

What in JavaScript has properties?

A

Objects, including instances of data types, can have properties that store information. The properties are denoted with a . after the name of the object, for example: ‘Hello’.length.

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

The console is an object which has built in methods\ actions.

A

Example console.log, the log is one such build in method.

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

The difference between Function and Method?

A

A method is associated with an object or datatype, while a function is not.

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

The 7 types of primitive data?

A

String, Integer, Boolean, null, undefined, Symbols and BigInts.

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

null vs undefined data types?

A

null is a value intentionally not set, undefined is a value that is absent.

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