Last week, I went to ele. me for an interview and found that I still have many deficiencies. Here are my list of interview questions, many of which I didn’t answer.
-
let { a: m } = {a: 1} m = ? Just a quick word about the assignment process
-
let { a= [], b= [], c= [], d= “hello” } = { c: [], d: “”};
a.push(1);
b.push(1);
c.push(1);
a = ? , b = ? , c=? , d =? , { c: [], d: “”} = ?
-
Return a rich text string from the background containing HTML tags. How to bold the contents of each HTML tag
-
[1,4,6,8,2,-11,-14] result: 1+-11=10 4+6=10…
-
Two ordered arrays, merged into one ordered array, okay? For example the two array,3,5,7,9 [1], [2, 4, and 6,8,10] merged into,2,3,4,5,6,7,8,9,10 [1]
-
[1, 2, 3, 4], [5, 6]] to [6] ps: this is just one example, array may be nested layers
-
[1, 2, 3, 4], [5, 6], 7} {a:] into,2,3,4,5,6,7 [1] and as above, will be nested layers
-
What does react setState do? Let’s talk about the react diff algorithm
-
The difference between the arrow function and the normal function
-
How does HTML make images load one by one