var a = {a: 1} var b = Object.create(a) console.log(a) and console.log(b) a.a = 2 console.log(b.a) The interviewer got confused and said that the prototype is copied to b and if we change a.a it will not have any impact on b.a. But rather b's __proto__ will have a link to a and if we change or delete a.a it will be reflected in b
Lead Front End Developer Interview Questions
16,903 lead front end developer interview questions shared by candidates
Write a polyfill for map and reduce
How to position the div - horizontally and vertically aligned with css
Tell me about yourself
javascript currying and higher order functions
solid principles and examples like what you used and in what use case
What did I participate in activities in high school?
Identify each items in the array using new Map() Pibonacci function
The interviewer asked for general work history and relevant work experience.
How to deal with angry customers?
Viewing 6861 - 6870 interview questions