Sort array collapse array de redo callback function
Sort array collapse array de redo callback function
Bubble sorting
significance
It is to adjust an out of order array into an ordered array through the execution of code
Logic:
1. Traverse the array, compare two by two, and move the relatively large number backward
2. After traversing, the result is that the largest number must be a ...
Posted by miro on Mon, 28 Feb 2022 14:09:48 +0100
NodeJS backend development 08 log using log4js
NodeJS backend development 08 log using log4js
What is a log?
Like keeping a diary, the log is printed out by the program, recording when and where events occurred within the program.
This article is only for use learning. If you want to have a deeper understanding of log management and analysis, you can see = > This complete guide to log ...
Posted by Crashin on Mon, 28 Feb 2022 13:47:40 +0100
Cool, pure Python development LOL hero information query platform
Introduction:
The content of today's article is very wonderful and practical. The last part will teach you to write the following cool applications in pure Python (the motion picture recording is too large, so it looks a little stuck after compression, but the actual operation is very smooth. It is recommended that you run and experience it yo ...
Posted by suckablesausage on Mon, 28 Feb 2022 13:27:38 +0100
Summary of JS basic questions
Summary of JS basic questions
[refer to the "question of the original JS soul" of the three great gods of nuggets, JS advanced programming, web front-end interview - interviewer series, etc.]
1. The object is passed as a function parameter
Say the running result of the following code and explain the reason
function test(person) {
...
Posted by lordofgore on Mon, 28 Feb 2022 13:26:12 +0100
WEB application development -- Part learning of spring MVC -- preliminary realization of spring MVC file upload function
Function construction and sorting
1. Import jar package
2. Add file parser
3. Successfully set up the login success interface
4. Jump to the add interface through the "add Avatar" function of the interface
5 add the necessary Ajax file upload JS component
6. Realize the upload function and deploy the local gallery to the Tom ...
Posted by saeed_violinist on Mon, 28 Feb 2022 12:10:25 +0100
Double flying swallow layout, Holy Grail layout and flex layout realize three column layout (fixed on both sides and adaptive in the middle)
1. Grail layout
Main: floating + margin left + relative positioning
Write a large container containing middle,left and right. Put the middle in frontThe three containers below the container float and write the height of 200pxWrite 100% for the middle width. At this time, left and right are squeezed into the second line. Set the width of left ...
Posted by philooo on Mon, 28 Feb 2022 11:22:03 +0100
HTML form tag
1, What is a form label
The form is used to collect the user's input data, and then submit the data to the server
2, Form composition
A form has three basic components:
① Form tag: This contains the URL of the program used to process the form data and the method to submit the data to the server.
② Form field: contains text box, password ...
Posted by Perryl7 on Mon, 28 Feb 2022 11:22:50 +0100
Tens of thousands of words long! 2022 latest react redux8 source code super detailed in-depth analysis: Reread react Redux source code
The react redux library is no stranger to anyone who is familiar with react. In one sentence, it serves as a bridge between the "redux framework independent data flow management library" and the "react view library", so that the store of redux can be updated in react, and the change of store can be monitored and the related ...
Posted by andrewburgess on Mon, 28 Feb 2022 09:51:48 +0100
ES6 class learning - class static attributes and static methods
Static properties and static methods
We can assign a method to the function itself of the class instead of the "prototype" assigned to it. Such a method is called static.
In a class, they start with the static keyword as follows:
class User {
static staticMethod() {
alert(this === User);
}
}
User.staticMethod(); // true
...
Posted by musson on Mon, 28 Feb 2022 08:34:11 +0100
Vuex learning record~
1. Concept
Vuex is designed for Vue JS application development state management mode. It uses centralized storage to manage the status (data) of all components of the application. Vuex is also integrated into Vue's official debugging tool devtools.
In short, Vuex is a Vue plug-in that implements centralized state (data) management in Vue. ...
Posted by uproa on Mon, 28 Feb 2022 07:57:50 +0100