Challenge: Asynchronous Callback Functions

This challenge will test your understanding of asynchronous callback functions and arrow functions in JavaScript.

We'll cover the following

Problem statement #

Study and run the code given below. It will give the error Cannot read property 'text' of undefined. Your task is to modify the code so that it displays the correct output, Complete Code Example, when run.

Do this in the testing widget given at the end.

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.