Do you really know arrow functions
Arrow function
🙊 I believe everyone has used the arrow function. People who can use it have tried it repeatedly. They are afraid that if they use it wrong, they may choose not to use it. It is a matter of multiple codes and a few lines of words. But people who have used it say it's really cool. Then this article will find out how to play the a ...
Posted on Wed, 01 Dec 2021 12:42:13 -0500 by anibiswas
js data structure and algorithm dictionary and hash table
Dictionaries
Store [key, value] pairs Then, we need to declare some methods that can be used by the mapping / dictionary.
set(key,value): adds a new element to the dictionary.remove(key): remove the data value corresponding to the key value from the dictionary by using the key value.has(key): if a key value exists in this dictionary, it retur ...
Posted on Wed, 01 Dec 2021 10:46:40 -0500 by bibby
My screenshot plugin was used by Gitee
preface
Last Saturday, a group friend @ said that Gitee's feedback module added a screenshot function. I went to experience it and found that they used my plug-in 😁, This article will share this plug-in with you. All interested developers are welcome to read this article.
Plug in address and implementation principle
This plug-in is impleme ...
Posted on Wed, 01 Dec 2021 09:37:48 -0500 by centerwork
javascript learning notes 08 (facing objects)
Programming thought: integrate some experience of doing things in life into the program
Process oriented: do everything by yourself, focusing on the process.
Object oriented: find objects according to requirements, do everything with objects, and focus on results
Object oriented features: encapsulation, inheritance, polymorphism (abstracti ...
Posted on Wed, 01 Dec 2021 07:23:35 -0500 by Niel Roos
React source code analysis 2. Design concept of react
React source code analysis 2. Design concept of react
Video course (efficient learning): Enter the course
Course Directory:
1. Introduction and interview questions
2. Design concept of react
3.react source code architecture
4. Source directory structure and debugging
5. JSX & Core api
6.legacy and concurrent mode entry functions
7. ...
Posted on Wed, 01 Dec 2021 04:48:57 -0500 by Onloac
Judge data type
Judge data typedata typejs has six data types, including five basic data types and one complex data typeBasic data type (value type): Number,String,Boolean,Null,undefined.Complex data type: Object Reference type: Object,Array,Function,Date,RegExpDifference between value type and reference type1. Different storage locationsThe value type occupie ...
Posted on Wed, 01 Dec 2021 02:06:46 -0500 by spaceknop
element's table multi selection combined with paging realizes the selected memory function and the dynamic synchronous update of table data and selected data
1. Effect drawing first:
1-1. No data at the beginning (equivalent to adding):
1-2: data at the beginning (equivalent to editing):
2. Main implementation logic:
With the help of the selection change method of the table of the element component (ps: table of element component )Combined with the paging component, you can define one f ...
Posted on Wed, 01 Dec 2021 01:33:52 -0500 by drumhrd
Team sharing, Bem standard research and Practice
There are dreams and dry goods. Wechat search [Daqian world] pays attention to this bowl washing wisdom who is still washing dishes in the early morning.This article GitHub https://github.com/qq449245884/xiaozhi It has been included. There are complete test sites, materials and my series of articles for the interview of front-line large factor ...
Posted on Tue, 30 Nov 2021 23:04:28 -0500 by JRS
Using regular expressions in js
When we design web pages, we always deal with forms, and most of the verification of forms is verified by regular expressions. On the homepage, let's learn what regular expressions are:
(the figure above comes from Baidu Encyclopedia) regular expression_ Baidu Encyclopedia
Next, let's learn about the use of regular expressio ...
Posted on Tue, 30 Nov 2021 16:53:31 -0500 by eddjc
[Vue learning notes _10] component development
Finally, the core component development of Vue!
Componentization: we divide a page into many components. Each component is used to implement a function block of the page, and each component can be subdivided. This will make the code easier to organize and manage, and more extensible.
Vue componentization: it provides an abstraction that a ...
Posted on Tue, 30 Nov 2021 15:21:50 -0500 by stevenrhiggins