Garbage Collection, in its full name, is an automatic memory management mechanism. Generally, the garbage collector implemented by the corresponding language collects object memory that...
Do you really understand Object.keys? What is the underlying call chain? Why is he sequential? This article explains one by one from the source point...
Developed by Netscape employee Brendan Eich in less than 10 days. It was called JavaScript because Netscape wanted to develop a Java-like scripting language to...
Javascript is a single-threaded, non-blocking scripting language. Single-threaded, i.e. at any time js code is executing, there is only one main thread to handle all...
The LIBUV library is responsible for executing the Node API. It assigns different tasks to different threads to form an Event Loop, which asynchronously returns...
In addition, there are some diagrams, including inheritance tree, key attribute attribution, pure logical workflow, the code of wood interested in the graph can be...
Before JS is executed, V8 prepares the runtime environment for the code, including heap space and stack space, global execution context, global scope, built-in builder...
First of all, the characteristics of the front end is non-persistence, execute once all recycle, generally 1.4g is enough, secondly, JS will be suspended when...