10 Front-end Interview Questions You Should Know About
Preface
Recently my friend Candy participated in an interview and he was asked to answer 10 questions in the first round. Obviously, as an experienced engineer, he was annoyed with this matter and thought along the lines of, “I have 5 years of work experience, why do I need to do the written test?”
TIP: Each question will involve an interesting knowledge point, you can try to think for a while before looking at the answer!
Q1: Use an object as a property key
What is the output, please?
Analysis
As we all know, if you use an object as the property key, it will end up like this. The actual key is [object Object]