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
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
vue comprehensive notes
note
Scaffold file structure
├── node_modules
├── public
│ ├── favicon.ico: Tab Icon
│ └── index.html: Main page
├── src
│ ├── assets: Storing static resources
│ │ └── logo.png
│ │── component: Store components
│ │ └── HelloWorld.vue
│ │── App.vue: Summarize all components
│ │── main.js: Entry file
├── .gitignore: git Con ...
Posted by bzenker on Mon, 28 Feb 2022 03:49:21 +0100
How do parent-child classes pass values
[the external chain picture transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the picture and upload it directly (img-cseiymsj-164601479949)( https://img-mid.csdnimg.cn/release/static/image/mid/ask/74460831064618.jpg “#left”)] [the external chain image transfer fails. The sourc ...
Posted by feri_soft on Mon, 28 Feb 2022 03:29:47 +0100
Interpretation of Vue source code -- example method
When learning becomes a habit, knowledge becomes common sense. Thank you for your likes, collections and comments.The new video and articles will be sent to WeChat official account for the first time. Li YongningThe article has been included in github warehouse liyongning/blog , welcome to Watch and Star.prefaceLast article Interpretation of Vu ...
Posted by jikishlove on Mon, 28 Feb 2022 01:45:32 +0100
Vue Data Response
1. MVVM mode
Both framework Vue and React are now commonly used in MVVM mode. MVVM is short for Model-View-ViewModel. M stands for Model, V stands for View, and VM stands for View-Model, the bridge between data and model. MVVM is essentially an improved version of MVC. MVVM is simply abstracting the state and behavior of the View in it, separa ...
Posted by ieda on Sun, 27 Feb 2022 18:13:36 +0100
javaScript advanced notes
15 supplement
14.1 basic summary
14.1.1 data type
It is divided into two categories:
Basic type (value type)
String: any stringNumber: any numberboolean: true,falseundefined: undefinedNull: null Object type (reference type)
Object: any objectArray: special object, accessed by subscriptFunction: a special object that can be executed ...
Posted by brianlange on Sun, 27 Feb 2022 17:09:36 +0100
Vue notes - bad programmers
Record pit: when axios is used in vue, it is recorded in The this keyword used in the function function of then is not the this keyword of vue!
Solution: first define this keyword outside: var this = this; Then it can be used in function.
1. Summary
1.Only one page can exist Vue Instance, cannot create more than one Vue example.
2.vue Instan ...
Posted by JetJagger on Sun, 27 Feb 2022 15:21:15 +0100
Jquery object, Jquery selector, Jquery Dom operation and event
catalogue
1, Download and installation of Jquery
1. Download and version
2. Installation
3. Advantages
2, Jquery core
3, DOM object and Jquery wrapper set object
1.DOM object
2.Jquery wrapper set object
3.DOM object to jQuery object
4.jQuery object to DOM object
4, jQuery selector
1. Foundation selector
2. Hierarchy selector
3. Fo ...
Posted by geo3d on Sun, 27 Feb 2022 14:56:46 +0100