understanding javascript Flashcards

1
Q

syntax parser

A

a program that reads your code and determines what it does and if its grammar is valid

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

lexical environment

A

where something sits physically in a code you write. Lexical means having to do with words or grammar. A lexical environment exist in programming languages in which WHERE you write sth is important.

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

execution context

A

a wrapper to manage the code that is running.

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

name/value pair

A

a name which maps to a unique value

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

object

A

collection of value pairs

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

global

A

in javascript = “not inside the function”

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

== (equality)

A

compare two different types and covert them into number

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

=== (strict equality)

A

when two different type are compared, it will always says it’s false. Does not convert different types to numbers.

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