Top 10 Javascript basic interview questions and answers[PART II]

Ms Chi
5 min readSep 10, 2022

Click here for PART I. More questions are related to array utility method, object, keyword(new, constructor, prototype), Object.freeze(), deep/shallow copy, scope, closure and hoisting. The techinical interview is always not SIMPLE, however the more we practice, the more confident we feel!

11. What is the difference of Deep/Shallow copy of non-primitive data type such array and object?

--

--

Ms Chi

A typescript JS people who breathes React and Node. Long term learning curve is a must to keep us fresh and competitive. Don’t be overwhelmed by the speed.