The Modern JavaScript Bootcamp (2019) - Converting to Promises

The Modern JavaScript Bootcamp (2019) - Converting to Promises

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Wayground Content

FREE Resource

4 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

How can you simulate an error when working with promises?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the significance of using arrow functions in promise syntax?

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

How does the 'getDataPromise' function return a promise?

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

3 mins • 1 pt

What steps are involved in converting the 'getCountry' function to use promises?

Evaluate responses using AI:

OFF