Salesforce Certified JavaScript Developer (JS-Dev-101) JavaScript-Developer-I Question # 54 Topic 6 Discussion

Salesforce Certified JavaScript Developer (JS-Dev-101) JavaScript-Developer-I Question # 54 Topic 6 Discussion

JavaScript-Developer-I Exam Topic 6 Question 54 Discussion:
Question #: 54
Topic #: 6

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 businessrequirement ?


A.

Object.const()


B.

Object.eval()


C.

Object.lock()


D.

Object.freeze()


Get Premium JavaScript-Developer-I Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.