JS COMPARISON OPERATORS Flashcards

Comparison Operators are used to return a True or False Boolean value when comparing two values

1
Q

Greater Than

A

>

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

Less Than

A

<

<

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

Greater Than or Equal to

A

> =

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

Less Than or Equal to

A

<=

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

Double Equals

A

==
Checks if the characters (AKA face value) of two values are the same (NOTE: Does NOT include data type when comparing - is case sensitive)

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

Triple Equals (AKA Strict Equality)

A

===
Checks if the characters (AKA face value) of two values are the same. Also, compares data types to compare if they are the same as well.

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

Not Equal

A

!=

Checks to see if characters (AKA face value) of two values are NOT equal to each other

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

Strict Not Equal

A

!==

Checks to see if values are NOT equal to each other. Also, check data types as well as character/face values

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

Less Than

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

Greater Than or Equal to

A

> =

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

Less Than or Equal to

A

<=

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

Double Equals

A

==
Checks if the characters (AKA face value) of two values are the same (NOTE: Does NOT include data type when comparing - is case sensitive)

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

Triple Equals (AKA Strict Equality)

A

===
Checks if the characters (AKA face value) of two values are the same. Also, compares data types to compare if they are the same as well.

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

Not Equal

A

!=

Checks to see if characters (AKA face value) of two values are NOT equal to each other

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

Strict Not Equal

A

!==

Checks to see if values are NOT equal to each other. Also, check data types as well as character/face values

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