Engrain by ByteRush

FND.09.06 BeginnerCore — asked often

Objects and JSON

Comes up in: Recruiter screen

This concept is being written. It gets the full five steps — explanation, predict, interview angle, practice with tests, and review cards. Here is exactly what it will cover, so you can study it elsewhere in the meantime.

What it covers

  • object literals
  • dot vs bracket access
  • adding/deleting keys
  • nesting
  • Object.keys/values/entries
  • destructuring and spread (intro)
  • reference vs copy
  • JSON format, JSON.stringify/parse

Words you will know

objectpropertykeyJSONreference

What you will practise

  • model a user profile
  • deep vs shallow copy surprise

Interview questions this answers

  • How do you copy an object? What is a shallow copy?