Sobes.tech
Junior — Senior

Determine the output of console.log in the given JavaScript fragment

livecode

Task condition

It is necessary to find out what result will be printed to the console when executing the following code:

 const a = { a: "a" };
const b = { b: "b" };
const c = {};

c[a] = a;
c[b] = b;

console.log(c[a].a, c[b].b);