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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments