10 Front-end Interview Questions You Should Know About

99% of people may not necessarily know the answer.

fatfish
3 min readMay 24, 2023

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]

--

--

fatfish
fatfish

Written by fatfish

Hi friends, I am a front-end engineer from Alibaba, let’s code happily together.

Responses (1)