fr
fr

Question from the Javascript - Fundamentals test

Waiting for validation

A preview panel edits a copied settings object:

const original = { theme: { contrast: "normal" } };
const draft = { ...original };
draft.theme.contrast = "high";
console.log(original.theme.contrast);

What is logged? Select one answer.

Author: AthosStatus: Waiting for validationQuestion not yet passed
0
Community EvaluationsNo one has reviewed this question yet, be the first!