ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 29 - Certified JavaScript Developer I discussion

Report
Export

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()
Answers
A.
Object.const()
B.
Object.eval()
Answers
B.
Object.eval()
C.
Object.lock()
Answers
C.
Object.lock()
D.
Object.freeze()
Answers
D.
Object.freeze()
Suggested answer: D
asked 23/09/2024
Mariusz Szczubelek
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first