100 javascript interview question Flashcards

1
Q

what is javascript?

A

javascript is a client-side scripting language understood by the browser and will be added to the HTML codes

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

Javascript data types

A

Boolean, string, number, null, undefined, symbol,object, function

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

why use NAN in js

A

when nan is used, it returns true when it doesn’t contain a number and false when it does

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