Question from the General knowledge for developers test

What is the output of the following code ? ```js let c = { bonjour: "Hello!" }; let d; d = c; c.bonjour = "Wesh!"; console.log(d.bonjour); ```

Hard

What is the output ?

let c = { bonjour: "Hello!" };
let d;

d = c;
c.bonjour = "Wesh!";
console.log(d.bonjour);
Author: Vincent CotroStatus: PublishedQuestion passed 81 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!