Exam4Training

What is the value of copy?

Given the code below:

const copy = JSON.stringify([ newString(‘ false ’), new Bollean( false ), undefined ]);

What is the value of copy?
A . — [ ”false”, { } ]–
B . — [ false, { } ]–
C . — [ ”false”, false, undefined ]–
D . — [ ”false”,false, null ]–

Answer: D

Exit mobile version