Posted by: Pdfprep
Post Date: February 11, 2021
A developer creates an object where its properties should be immutable and prevent
properties from being added or modified.
Which method should be used to execute this business requirement?
A . Object.const()
B . Object.eval()
C . Object.lock()
D . Object.freeze()
Answer: D