The history of JS1994, the speed of foreign 7kb/10kb aroundNetscape---livescript (Navigator's browser)90 The birth of the Java languagejdk1.0--"Java"--Netscape and Sun company-javascriptJavascriptMicrosoft company-jsscript (will browser free ...),
Coding problem in JSHttps://www.haorooms.com/post/js_escape_encodeURIComponentI in the front-end JS Add time to create the DOM, there are Chinese characters, found to be garbled on the study of the nextFor character encoding javascript:escape("\u6625
1.JavaScript number ObjectJavaScript has only one numeric type.You can use it or you can write a number without using a decimal point.1.1JavaScript DigitalJavaScript numbers can be used or written without using a decimal point:var pi=3.14; // Use
First, the concept of the prototype chainJavaScript is an object-oriented programming language in which everythingin JavaScript is an object , and objects are not independent of each other, but have "inherited" relationships.This "inheritance"
SetObject allows you to store a unique value of any type, whether it is an original value or an object reference.1 Const SET1 = new Set ([1, 2, 3, 4, 5]); 2 3 Console.log (Set1.has (1)); 4//Expected Output:true 5 6 Cons Ole.log (Set1.has (5));
Variable declaration and scope
Avoid declaring global variables
A global variable is either declared outside of any function or is not declared straightforward to use.
Reason: Portability. If you want your code to run
When action grows unprofitable, gather information; When information grows unprofitable, sleep. Ursula K. Le Guin, the left Hand of Darkness
Index
Several viewpoints of the author
ECMAScript Standard
Values, Types, and
1.tab key (must) use four spaces instead of2. After each line of code (must) add ";"3. The names of variables, constants, and classes are executed according to (must) the following rules:1) Variable: must be named with the Camel Peak and the first
1, use strict mode, add code specification' Use strict 'This is a good habit to avoid some hidden errors in your code. Strict mode is used by default in ES62, JS ES5 Two ways to declare the method(function () { ' use strict '; // A function
BP Neural Network is a multi-layer feedforward neural network which is trained according to the error inverse propagation algorithm, and is the most widely used neural network at present.BP neural network error reverse propagation neural network:
Reprint: https://www.cnblogs.com/weiqinl/p/9049745.htmlThere are two ways to compare JavaScript: the strict comparison operator and the conversion type comparison operator.Corresponds === , and, in the equality operator !== == != .Give me a chestnut
Excerpt: 43148705The same-origin policy restricts the way in which a source (origin) is loaded or scripted with resources from other sources (origin).Same-origin definitionIf two pages have the same protocol (protocol), the port (if specified), and
Values for base types and reference types Basic type (simple data segment)The base data type is accessed by value, because the actual value is stored in the variable. Reference types (objects that may consist of multiple values)Reference types are
1 instanceof:1.1 Normal use: Determine if an object is an instance of a constructor:Syntax: The object instanceof function is return true, not return false.instanceof Object);1.2 Advanced Usage:Determines whether the prototype object of a function
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service