Do you really know arrow functions

highlight: a11y-dark theme: channing-cyan 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 ...

Posted by madmindz on Tue, 30 Nov 2021 15:19:53 -0800

Operation of JavaScript node

Explain the nodes and elements first Element: all tags in the page, and each html tag is an element node: all contents in the page, including labels, attributes (attributes of labels), text (text, line feed, space, carriage return), even elements are nodes nodeType: type of node: 1 --- label 2 - properties 3 - text nodeName: node name: Label ...

Posted by lli2k5 on Tue, 30 Nov 2021 14:37:52 -0800

Vue element admin refreshes the page and jumps to the login page or 404 page Bug resolution record

01 Bug description The author carries out secondary development based on the simplified Vue element admin front-end framework Vue admin template. I added the functions of authority authentication and dynamic routing in Vue admin template, that is, the front end generates dynamic routes according to different user roles and renders different p ...

Posted by mattd8752 on Tue, 30 Nov 2021 01:45:31 -0800

react source code analysis 6.legacy mode and concurrent mode

react source code analysis 6.legacy mode and concurrent mode Video Explanation (efficient learning): Click to learn 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 fun ...

Posted by katie77 on Mon, 29 Nov 2021 22:16:33 -0800

07_JavaScript data structure and algorithm bidirectional linked list

JavaScript data structure and algorithm (VII) bidirectional linked list One way linked list and two-way linked list Unidirectional linked list You can only traverse from beginning to end or from end to end (generally from beginning to end).The linked list connection process is one-way. The implementation principle is that there is a referenc ...

Posted by foolguitardude on Mon, 29 Nov 2021 20:13:01 -0800

Self test, 7 interview questions about closure

More articles are detailed in the official account [front end css and js dry cargo].Every JavaScript developer must know what a closure is. In JavaScript coding interviews, closures are often asked.This article has compiled a list of seven interesting and increasingly difficult questions about JavaScript closures.Take a pencil and a piece of pa ...

Posted by john6384 on Mon, 29 Nov 2021 18:48:44 -0800

About arrays of functions

1, What is an array 1. An array is a set of ordered data 2. That is, we put some data in a box and arrange them in order. This thing is an array and a collection of data 3. We can see that all data types are divided into two categories: a.Basic data types: (five categories) number/string/boolean/undefined/null b.Complex data type:Ob ...

Posted by corsc on Mon, 29 Nov 2021 13:59:03 -0800

Promise in js

I. overview Promise is a solution for asynchronous programming, which can replace the traditional solution - callback functions and events. ES6 unifies usage and provides native promise objects. As an object, promise has the following two characteristics: * (1) the state of the object is not affected by the outside world* (2) Once the state ch ...

Posted by lovelyvik293 on Mon, 29 Nov 2021 13:56:27 -0800

JavaScript basic syntax

Javascript basic syntax - html: Markup Language - JavaScript: programing language preface Development history of JavaScript (js) 1. 1994 Netscape, Inc(Netscape)Released Navigator Browser 0.9 This is the first mature web browsing in the world It's a blockbuster. But this is a veritable browser--You can only browse the page, and the browser ...

Posted by protokol on Mon, 29 Nov 2021 13:12:48 -0800

Front end development ES6

         It is recommended that front-end developers use ES6 for development, which can reduce the amount of code and increase readability. 1. About value const obj = { a:1, b:2, c:3, d:4, e:5, } Make complaints: const a = obj.a; const b = obj.b; const c = obj.c; const d = obj.d; c ...

Posted by predhtz on Mon, 29 Nov 2021 08:07:23 -0800