Meituan front-end interview~~It’s cold

one side

  1. How to remove float? (I asked this question when I came up, but I remembered it later)

    Method 1: Use an empty div

    Method 2: overflow: hidden

    Method 3: display:inline-block;

    Method 4: position:absolute;

    Method 5: float:left;

    Method 6: zoom:1

    Method 7: after pseudo-class + content method

  2. DOM events you know;
  3. Bubble capture
  4. Cross-browser event model
  5. event agent
  6. Introduction to the position property
  7. Introduction to the display property
  8. CSS kernel~ (I still don't know what he is asking, is the browser's CSS kernel? I don't understand it very well)
  9. Talk about the understanding of closures. What are the effects of closures? Why does it have this effect?
  10. Array deduplication
  11. What formats are there for the pictures? What are the advantages and disadvantages of each? What are the png formats? What are the characteristics of each?

    PNG8: 8-bit png supports up to 256 (2 to the 8th power) colors. 8-bit png actually supports opacity, index transparency, and alpha transparency.

  12. vue life cycle
  13. Vue source code (this was also asked)
  14. Talk about an understanding of scope chains and inheritance.

Although it seems very simple, the interviewer does not necessarily ask directly, so it is necessary to fully understand the usage of a certain API.

two sides

  1. js data type, I said one more symbol, and then asked me what API the symbol has
  2. The principle method of clearing the float
  3. What is the principle of BFC
  4. The smallest element of HTML, I don't understand this problem
  5. Binary tree traversal ideas
  6. Breadth and depth-first traversal of trees
  7. difference between process and thread
  8. Steps to create a thread
  9. Application layer protocols, I said HTTP, DNS, PTF
  10. Why does TCP handshake 3 times, what does each stage do, and it is different from UDP
  11. FTP introduction
  12. page parsing order
  13. CSS selectors and their weights
  14. How css inline tags are parsed during DOM rendering
  15. call apply bind arguments
  16. Implementation stack
  17. Do you know node? I answered to understand the asynchronous mechanism of node, and I explained several asynchronous APIs of node according to the book <Introduction to Node.js (Park Ling) Complete Scanned Version.pdf>.

Three sides

  1. How do you usually study? Paths 1, 2, 3, 4, ...
  2. 你觉得最有成就感的事情是什么1,2,3,4,……
  3. 你有团队协作经历没1,2,3,4,……
  4. 你了解的前端技术前沿的团队有哪些1,2,3,4,……
  5. 你平时有什么爱好1,2,3,4,……
  6. 5年后希望成为什么样的人
  7. 实习经历
  8. 为什么学前端
  9. 你不打算以后做产品之类的吗
  10. 你最看重公司什么
  11. 判断两个字符串是否互相包含的算法
  12. 全排列算法

hr

  1. 之前有了解过美团吗
  2. 问我有什么问题。我问了美团点评和美团的关系,之后hr就在分析


(最后因为他们需要有实习经验的人,并且上手能干活的人,结果就凉了,= =!其实感觉挺可惜的,还是要加强基础啊)


6.


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324890658&siteId=291194637