Operator (basic)
Meaning and classification
A form consisting of data itself or operational data connected by operators Example: 1 + 1 Where 1 and 1 are two operation data
classificationdivideArithmetic operator+,-,*,/,%,+ +,- -Comparison operator>, <, > =, < =, all equal (three equal signs), not all equal (! = =)Logical operatorLogical ...
Added by jmakeig on Tue, 08 Feb 2022 05:30:26 +0200
Notes on Web Learning Route JS: Introduction
1.js is an interpretive programming language running on the client
2. Functions of JS:
Some logical implementations used to complete front-end and back-end interaction and increase user experience.
3. A web page is composed of three parts: structure (HTML/HTML5), presentation (CSS/CSS3) and behavior (javascript)
4. The core of front-end dev ...
Added by underparnv on Tue, 08 Feb 2022 04:04:43 +0200
javascript functional programming ---- function combination
Function combination
Concept of function combination: if a function needs to be processed by multiple functions to get the final value, we can combine these intermediate process functions into a new function at this time.
Functions are like pipelines of data. Function combination is to connect these pipelines and let the data pass through ...
Added by yarub on Tue, 08 Feb 2022 03:51:24 +0200
Front end basic knowledge learning - ShadowDOM&LightDOM
DOM
DOM and SAX
W3C has developed a set of standard interface specifications for writing XML analyzers - DOM.
In addition, XML_ According to the requirements of the application, the members of dev mailing list also spontaneously defined a set of interface specification for operating XML documents - SAX.
These two kinds of interface specific ...
Added by mccormr7 on Tue, 08 Feb 2022 00:49:38 +0200
Analysis of this binding mechanism in Javascript - detailed explanation
Why use this:
function identify() {
console.log("Hello,I'm " + this.name);
}
let me = {
name: "Kyle"
};
let you = {
name: "Reader"
};
identify.call(me); // Hello,I'm Kyle
identify.call(you); // Hello,I'm Reader
This simple chestnut can reuse the function identify in different objects without writing a new function for each object.
...
Added by edawg on Mon, 07 Feb 2022 22:37:58 +0200
Vue 3.0 Component Foundation
1. Pros Verification
1. props node of object type
Each prop can be checked for data type using props nodes of object type.
Disadvantages of using props nodes of array type: you cannot specify a specific data type for each prop.
2. props authentication scheme
2.1 Basic Type Check
Specify the underlying check type directly for the prop prop ...
Added by raghavan20 on Mon, 07 Feb 2022 21:07:04 +0200
h5 mini game making egret p2 physical engine ball drop demo
egret p2 Physical Engine Learning Record
p2(physics) download address: https://download.csdn.net/download/qq_31189489/79552684
Introducing a physical engine
Download p2 Physical Engine Package All files in the \physics\libsrc\binphysics directory are copied to the root directory/. / p2Physics directory Modify the project root config ...
Added by krio on Mon, 07 Feb 2022 20:23:12 +0200
JavaSpript Learning Notes
1. What is JavaSpript
1.1 Overview
javaSpript is one of the most popular scripting languages in the world
A qualified backend must be javaScript proficient
1.2 History
Introduction: https://blog.csdn.net/kese7952/article/details/79357868
ECMAScript: A standard that can be understood as javaScript
The latest version has reached es6~but mo ...
Added by beachcomber on Mon, 07 Feb 2022 19:51:19 +0200
Note-javascript Object
create objectFactory ModeExample: function createPerson(name, age, job) {
var o = new Object();
o.name = name;
o.age = age;
o.job = job;
o.sayName = function () {
console.log(this.name);
};
return o;
}
var person1 = createPerson('Zhang San', 20, 'actor');
console.log(person1);
...
Added by richie1975 on Mon, 07 Feb 2022 19:16:39 +0200
Vue3 study notes
Vue3 study notes
I haven't seen the relevant knowledge of vue3 systematically before. I met the first Spring Festival holiday just more than a month after I joined the job, so I saw the relevant knowledge of vue3 during this period. Otherwise, the project is too hard to do
Vue3 has two ways to create a project
Scaffolding Install via vite ...
Added by frizzo on Mon, 07 Feb 2022 09:10:31 +0200