Why did you write this blog post? Some time ago, I chatted with a small friend of the headline asking what questions the front end of the interview would ask. He said that if it was his interview, event-loop would definitely ask. I talked a lot that day, and event-loop left a deep impression on ..
Category : node.js
Webpack core concepts: Entry: entrance Module: module, everything in the webpack is a module. Chunk: code base, a chunk is composed of more than ten modules, used for code merging and splitting. Loader: module converter, which is used to convert the original content of the module into new content according to requirements Plugin: extension plug-in, ..
This keyword is one of the most complicated mechanisms in JavaScript. It is a special keyword that is automatically defined in the scope of all functions. However, I believe many JsvaScript developers are not very clear about what it refers to. I heard that you know this very well, is it true? Please answer the ..
In the cold winter of the Internet, major companies have reduced HC and even adopted “layoff” measures. Under such a big environment, it is necessary to make more efforts to get a better job. A year ago, perhaps you could get approval by figuring out closure, this, prototype chain. But now, obviously not. This article ..
In the cold winter of the Internet, major companies have reduced HC and even adopted “layoff” measures. Under such a big environment, it is necessary to make more efforts to get a better job. A year ago, perhaps you could get approval by figuring out closure, this, prototype chain. But now, obviously not. This article ..
With the development of the Internet, various Web applications have become more and more complex, meeting various needs of users. At the same time, various network security problems have followed. As front-end engineers, we can’t escape from this problem either. Today, let’s take a look at what security problems exist in the Web front-end and ..
To know what it is and why it is, first understand three concepts: 1. What is synchronization? Synchronization means that when a “call” is issued, the “call” will not return until the result is obtained. But once the call returns, you get the return value. In other words, it is the “caller” who actively waits ..
About [Step-By-Step] If you don’t take too many steps, you’ll reach a thousand miles. Step-By-Step(Click to enter the project) It was me at2019-05-20The beginning of a project, the project vision: one step at a time, quantitative change leads to qualitative change. Step-By-StepOnly face-to-face questions will be issued on weekdays, mainly considering that some of the ..
This week’s interview questions list: What is the function of the throttle function? Please implement a throttling function for any application scenarios Tell me about your understanding of JS execution context stack and scope chain? What is BFC? What are the layout rules of BFC? How to create BFC? What are the differences between let, ..
This week’s interview questions list: What is XSS attack and what kinds of XSS attacks can be divided into? How do we prevent XSS attacks? How do I hide an element in a page? What is the principle of browser event proxy mechanism? Why is there an error in setTimeout countdown? 11. What is XSS ..
This week’s interview questions list: What is closure? What is the function of closures? Implement Promise.all method What are the ways to load js scripts asynchronously? Please implement a Flattened Deep function to flatten nested arrays What are the characteristics of iterated objects? More quality articles to stamp on: https://github.com/YvetteLau/ … 15. What is closure? ..
This week’s interview questions list: Implement Promise.race method JSONP Principle and Its Simple Implementation Implementation of an Array De-duplication Method What are the methods of floating? Writing a General currying Function More quality articles to stamp on: https://github.com/YvetteLau/ … 20. implement Promise.race method In realizationPromise.raceBefore the method, we first need to knowPromise.raceThe function and characteristics ..