DEV Community

Satyam Yadav
Satyam Yadav

Posted on • Updated on

Tricky JavaScript Interview Problem

Do you know the answer to this tricky javascript interview problem about objects and their properties?
Even if you correctly guess the answer, do watch till the end because I also talk about a new and cool ES6 feature related to the same problem.
If you like this video, hit the like button and share it with your friends and colleagues.
Post your suggestions and feedbacks in the comments section..
Subscribe to the channel and hit the bell icon to be notified about more content about computer science and software engineering.

Top comments (2)

Collapse
 
sohammondal profile image
Soham Mondal • Edited

I knew that the answer would be undefined, but wasn't aware of this


var person = { [key] : "Sherlock" } 

Thanks! 😄

Collapse
 
satyam1729 profile image
Satyam Yadav

I am glad that you got to know something new.