Skip to content
Junior–Senior161 views

What will be displayed in the console (example 18)

Task condition

Determine what output will appear in the console when executing the following JavaScript code.

 let data = {
    "0": 1,
    ?: 2,
};

// console.log(data["q"] + data[0] );
Frontend tasks in the code trainer