Javascript
1 String.prototype.replaceAll We all know that the String.prototype.replace() method is used to replace the string 'betterman'.replace('e','1111') // "b1111tterman" In the String.prototype.replace() method, when the first parameter is of string type, only the first matching string is replaced. UTF-8...
Posted by andreasb on Thu, 30 Sep 2021 06:28:49 +0530
Everything in JavaScript is an object, such as strings, numbers, arrays, functions, etc. Each object has properties and methods. Properties of the object: Reflects certain properties of the object, such as the length of the string, the length and width of the image, or the height and weight ofUTF-8...
Posted by spyderman on Fri, 01 Oct 2021 00:49:32 +0530
1. Prototype Chain Inheritance Inheritance is a subclass that inherits the properties and methods of its parent Purpose enables instances of subclasses to use properties and methods of the parent class Classes refer to constructors 2. Core of prototype chain inheritance Subclass constructor. prUTF-8...
Posted by mshen on Fri, 01 Oct 2021 22:35:06 +0530
JavaScript process control statement JavaScript process control statements include: sequence, branch (condition) and loop Sequential process control The program is executed in code order Branch control statement Execute different codes according to different conditions and get different resultUTF-8...
Posted by tmh766 on Fri, 01 Oct 2021 23:02:08 +0530
JavaScript form validation example HTML forms are usually used to collect user information, such as name, e-mail address, location, age, etc. However, it is likely that some users may not enter the data you expect. HTML form validation can be done through JavaScript. In order to avoid unnecessaUTF-8...
Posted by paran0id Dan on Fri, 01 Oct 2021 23:32:05 +0530
1.1. Introduction to web API 1.1.1 concept of API API (Application Programming Interface) is some pre-defined functions, which aims to provide the ability for applications and developers to access a group of routines based on some software or hardware without accessing the source code and undeUTF-8...
Posted by phillfox on Sat, 02 Oct 2021 00:17:33 +0530
1, Principle of mandatory examination for large factories 1. Componentization and MVVM 2. Responsive principle 3.vdom and diff algorithm 4. Template compilation 5. Component rendering process 6. Front end routing 1. Componentized foundation = > (MVVM model) Traditional components, knowledge, stUTF-8...
Posted by qt4u on Sat, 02 Oct 2021 05:37:56 +0530
JSON What is JSON: JSON is an abbreviation for JavaScript Object Notation, which is a data format. JSON is essentially a string.The elements in JSON are simple values, objects, arrays 1) Simple values: numeric, character, Boolean, Null, note that there is no undefined 2) Object: used to store dUTF-8...
Posted by plautzer on Sat, 02 Oct 2021 22:19:50 +0530
catalogue What is routing Usage scenario of routing The basic steps of vue routing are divided into seven steps case epilogue What is routing Routing is a mapping relationship Mapping between path and component Mapping relationship between interface and service Mapping relationship between routUTF-8...
Posted by bjazmoore on Sat, 02 Oct 2021 23:07:06 +0530
Review Trees and Binary Trees 1.Definition of tree A tree is a finite set of n (n >= 0) nodes and is a one-to-many data structureWhen n = 0, it is called an empty treeWhen n > 0 is called a non-empty tree, it has the following properties There is only one special node, called the root nodeThe rUTF-8...
Posted by Smruthi on Sun, 03 Oct 2021 23:52:32 +0530