Interview Question: Explain the differences of const and Object.freeze() in JavaScript?

Zac Smith
2 min readDec 10, 2020

Today I have a job interview and was asked a question that caused my mind to … well echo the sounds of silence. It is a simple one in retrospect.

Explain the differences of const and Object.freeze()?

--

--