Skip to content
Junior–Senior165 views

Defining console output (example 40)

Task condition

Specify what value will be output by the console.log function in the given code.

 async function getData() {
    return await Promise.resolve('I made it!');
}

const data = getData();
console.log(data); //
Frontend tasks in the code trainer