On V8 compilation
Author Yu ZiyiSource: Ali technical official accountI. IntroductionThis article is an introduction to the principles of V8 compilation, which aims to give you a perceptual understanding of the parsing process of JavaScript in V8. The main writing process of this paper is as follows:Interpreter and compiler: introduction to basic knowledge of co ...
Posted by clapton on Sat, 18 Dec 2021 20:39:02 +0100
Vue lifecycle resolution
Explain Vue Lifecycle in detail
Let's take a look at the introduction of vue life cycle on the official website of vue
Vue instances have a complete life cycle, that is, a series of processes such as creating, initializing data, compiling templates, mounting Dom, rendering → updating → rendering and destruction. We call this th ...
Posted by Maugrim_The_Reaper on Sat, 18 Dec 2021 19:47:12 +0100
[learning notes] basic JavaScript
preface
If you want to do well, you must first sharpen your tools. In order to improve development efficiency, VScode is selected.
Management - Settings - common settings - font Consolas, 'Microsoft YaHei Light', monospace Chinese vscade Prettier formatting code (indented 2 cells) Auto Rename Tag synchronously modifies tags CSS support f ...
Posted by Braveheartt on Sat, 18 Dec 2021 19:34:58 +0100
Related methods and strict patterns of Object objects
1, Object object related methods
Object. The getprototypeof method returns the prototype of the parameter object. This is the standard way to get prototype objects.
The prototype of the instance object f is the prototype property of the constructor
Prototypes of several special objects
// The prototype of an empty object is object prototype ...
Posted by insane on Sat, 18 Dec 2021 13:06:31 +0100
JS Basics
JS
brief introduction
characteristic
Interpretative languageSyntax structure similar to C and JavaDynamic languagePrototype based object oriented
Basic grammar
Output statement
<script type="text/javascript">
// Control the browser to pop up a warning box
alert("This is my first line js code")
// Let the ...
Posted by spudmclard on Sat, 18 Dec 2021 08:58:17 +0100
javascript learning data structure (binary tree, figure)
Binary tree and binary lookup treeTree is a nonlinear data structure, which stores data in a hierarchical manner. Trees are used to store hierarchical data, such as files in the file system; Trees are also used to store sequence tables.Binary tree is a special tree with no more than two child nodes. Binary tree has some special computational pr ...
Posted by WLC135 on Sat, 18 Dec 2021 06:51:28 +0100
Prototype and prototype chain
Prototype and prototype chain
1. Prototype object
Function accesses the prototype object through prototype Instantiated objects pass__ proto__ Accessing prototype objects
Constructor, both prototype and__ proto__
A function is an object instantiated by the Function() constructor, so it has__ proto__Function has prototype
[ ...
Posted by eraxian on Sat, 18 Dec 2021 05:36:06 +0100
Usage and difference of call, apply and bind
call methodThe call() method calls a function with a specified this value (this points to the execution environment context) and one or more parameters given separately.grammarfun.call(thisArg[, arg1[, arg2[, ...]]])fun: function called.thisArg: required. The value of this specified by the function runtime (this points to the execution environm ...
Posted by ebbatten on Sat, 18 Dec 2021 04:51:51 +0100
ES6 new feature summary Set and Map Set
1 Set set
Set: a data structure similar to an array without duplicate values. It is mainly used for array de duplication and string de duplication.
1.1 operation method
methodmeaningadd()Add a value and return the Set structure itselfdelete()Delete value, and return a boolean indicating whether the deletion is successfulhas()Judge whethe ...
Posted by NathanS on Sat, 18 Dec 2021 04:38:41 +0100
Detailed explanation of global functions of JavaScript
preface
Today, when moving bricks, there is a js requirement on the page to calculate through the js global function eval() according to the passed algorithm, which is really disgusting. Today, the blogger will sort out the JavaScript global function to prevent stumbling by this problem in the future. I hope it will be helpful to you
1, ...
Posted by raffielim on Sat, 18 Dec 2021 02:45:17 +0100