Step by step analysis of handwritten promise

Promise is a constructor for asynchronous requests introduced by es6 to help solve the problem of callback hell. The following content will customize the implementation of promise, which only includes basic use, so some boundary conditions are not taken into account.If you are not familiar with promise usage, you can moveUnderstanding and use o ...

Posted by cyberdwarf on Mon, 20 Dec 2021 01:17:39 +0100

Implement a mini Vue

mini-vue Implement a simple Vue js. To understand the principle of Vue response, mom doesn't have to worry that I won't use Vue anymore! The technology is not yet mature and only a small part of functions are realized-- 2020/08/27 Technical implementation reference Pull hook education "big front end high salary training camp" ...

Posted by aron on Sun, 19 Dec 2021 23:49:06 +0100

Front end development_ HTML5_CSS part - Transform

Transform 1. Introduction In the previous study, we learned two special effects: transition and animation. Let's learn a new effect transformation. The transformation effect is mainly a series of operations on two-dimensional (2D) and three-dimensional (3D) coordinates. Let's learn it together. 2. Transform (1) transformation overview: CSS ...

Posted by xcoderx on Sun, 19 Dec 2021 22:22:47 +0100

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

[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

Educator CSS3 selector - property selector

CSS3 selector - property selector Level 1: CSS3 - related concepts of property selector Customs clearance knowledge 1,Of the following options, the attribute selector is( C) A,div>span{color:red;} B,#box{color:red;} C,span[id]{color:red;} D,span{color:red;} 2,The style rules are as follows: p[class $= en]{font-weight:bold;} The style ...

Posted by franko75 on Sat, 18 Dec 2021 17:19:18 +0100

[animation Xiaole | CSS] 087.HTML+CSS to realize user-defined simple transition animation

preface Hello! buddy! Thank you very much for reading Haihong's article. If there are mistakes in the article, you are welcome to point out ~   Self introduction ˊ ᵕ ˋ) ੭ Nickname: Hai Hong Label: program ape | C + + player | student Introduction: I got acquainted with programming in C language, and then transferred to computer major. I w ...

Posted by dnzone on Sat, 18 Dec 2021 09:19:14 +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

II. More detailed functional programming

Write in front Is it still facing Baidu, Google and the process day after day? Have you ever thought about trying to use various design patterns in ordinary business? Think about a thousand roads at night and go the same way in the morning. I have always despised the code written in the past, thinking about refactoring, but I dare not start. M ...

Posted by ozzthegod on Sat, 18 Dec 2021 07:34:20 +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