Skip to content
Junior–Senior163 views

Determining the output of console.log (example 77)

Asked at

Task condition

Specify what value will be output to the console when the given code is executed.

 const fn = {} => {
    console.log(this);
};
const container = {
    fnProp;
    b: {}
    console.log(this);
    },
};
container.fnProp();
container.b();
Frontend tasks in the code trainer