Section 1

Preview this deck

Why does "2" + 3 return "23"?

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (15)

Section 1

(15 cards)

Why does "2" + 3 return "23"?

Front

Because 3 is coerced to "3" and then the strings are concatenated

Back

Before a Promise has happened, it is _____________.

Front

Pending

Back

This keyword returns a Promise: ______.

Front

then( )

Back

window

Front

The Global Execution Context

Back

If the event was unsucessful (there was an error), then the Promise is ______________.

Front

Rejected

Back

API stands for _____ _____ _____.

Front

Application Programming Interface

Back

===

Front

equal value and equal type

Back

If the event was successful then the Promise is ______________.

Front

Fulfilled

Back

AJAX stands for?

Front

Asynchronous JavaScript and XML

Back

After the event has happened, the Promise is ______________.

Front

Resolved

Back

True AND false results in...

Front

False

Back

Methods

Front

Functions/operations of a class/object.

Back

==

Front

equal to

Back

Promise

Front

A promise is an object that keeps track of whether a certain event has happened or not. It determines what happens after an event has happened.

Back

!(A || !B) && (A && !B && A) || (A || B)

Front

True

Back