Basic and Reference Data Types in js
There are two types of data in js, basic data type and reference data type.
Basic data types
NumberStringBooleanUndefinedNullSymbol (new to ES6)Reference data type
ObjectArrayFunctionRegexp
How to determine the data type:
1. The typeof is fine with the basic data type judgment, but when it comes to referenced data types (e.g. Array), it ...
Posted by Toadums on Thu, 30 Sep 2021 18:38:45 +0200
Project management system -- the first small project for java people
preface:
After many days, we have finished learning the object-oriented phase of Java. After all, we need to put it into practice. This small project is our first java object-oriented solution project. Next, let's enter the project world together
catalogue
1, Project requirements
2, Function realization
3, Implementation of speci ...
Posted by Michael001 on Wed, 29 Sep 2021 03:53:22 +0200
JavaScript (crazy God learning notes)
JavaScript
1. General
Ant Design History of JavaScript JavaScript is the most popular scripting language The language styles of Java and JavaScript are very different, just to rub the heat
A qualified back-end person must be proficient in JavaScript
2. Quick start
2.1 importing JavaScript
Internal labelExternal introduction
<! ...
Posted by steveonly20 on Wed, 29 Sep 2021 02:25:36 +0200
Phase III CGB2105-Day06
CGB2105-Day06
Shining sun
2021-07-28 09:53:19
2865
Category column:
2105
Article label:
vue
2105
The column con ...
Posted by tbone05420 on Tue, 28 Sep 2021 19:47:41 +0200
Copy constructor, this pointer, assignment operator overload, complete class
Catalog
copy constructor
this pointer
Because this pointer points to its own object, we return this pointer to return our own object
Assignment Operator Overload (Assignment Constructor, have I forgotten this statement, I've always called it that way)
Complete class (parameterized, parameterized, copy, assignment, destructive)
copy con ...
Posted by srhino on Sat, 25 Sep 2021 19:04:03 +0200
Front end performance optimization 03_ Layer and redraw rearrangement
css layer
When rendering a page, the browser will divide the page into many layers, ranging from large to small, with one or more nodes on each layer. When rendering DOM, what the browser does is actually:
1. After obtaining DOM, it is divided into multiple layers
2. Calculate style results for nodes of each layer (calculate style – st ...
Posted by jamesm87 on Fri, 24 Sep 2021 14:21:40 +0200
js implementation tab
Tabs are often used in web pages, so how to implement tabs?
In the current framework, dom operation is omitted, and developers only need to pay attention to data. Is it really unnecessary to operate dom? Yes, it is necessary, but the program has helped to do this, and pure data logic will make the front end more difficult.
Overall structure
...
Posted by johnsiilver on Thu, 23 Sep 2021 13:01:10 +0200
The JavaScript shorthand coding method is suitable for JavaScript shorthand skills and techniques of all stack developers. (self use, self use, self use)
1. Declare variables
It is a good practice to declare variable assignment at the beginning of a function. This shorthand method can save you a lot of time and space when declaring multiple variables at the same time.
Common writing
let x;
let y;
let z = 3;
Simplified writing
let x, y, z=3;
2. Use ternary operators
Your life becomes eas ...
Posted by Zephyris on Wed, 22 Sep 2021 09:03:21 +0200
session technology, EL, JSTL
catalogue
1, session Technology
definition:
Species difference (connotation):
Creation and acquisition of session
Syntax analysis of access and deletion of session value
Case:
2, EL
Why use EL?
definition:
Species difference (connotation):
EL syntax:
EL syntax - value by variable name
Case:
Jump to a jsp through the servlet and ...
Posted by luzlin on Tue, 21 Sep 2021 21:38:07 +0200
[Mid Autumn Festival] simulate the revolution of planets in the solar system
preface
Last [Mid Autumn Festival] realize the revolution of sun, earth and moon in pure CSS I dug a pit to simulate the revolution of the planets in the solar system around the sun. Today I'll fill the pit.
There are only eight planets in the solar system: Mercury, Venus, earth, Mars, Jupiter, Saturn, Uranus and Neptune. Originally there w ...
Posted by AnnieKay on Tue, 21 Sep 2021 12:04:44 +0200