Previous wordsGeneral programming language, which means null only, but JavaScript designer Brendan Eich design a undefined, which undoubtedly increases the complexity of the program, but there are some reasons for this. This article will detail the
Original address:http://www.jb51.net/article/21688.htm This article focuses on the relationship between the Eval function and the JSON data format, as well as some detail issues. If you would like to learn more about Eval and JSON, please refer to
1. Various operators(1) Arithmetic operators+-*/% ()(2) Self-increment decrement operatora++ ++a A----aIf it is added first, a plus after operation will be givenIf it is a post-add, it will be given a plus after the first operation.(3) Logical
JavaScript consists of:1) ECMAscript Specifies the syntax part of JS: The usual functions of string, array and timeString: Create string, with length //string Use definition 1: var str= "ADSAFDSAFD"; Mode 2: Use the String
An extension to date that converts date to a string of the specified formatThe month (m), Day (d), hour (h), Minute (m), second (s), quarter (q) can be used with 1-2 placeholders,Year (y) can use 1-4 placeholders, milliseconds (S) with only 1
Operator
i++
I--
++i
--I
Interpretation
The first assignment, then the self-increment
First assignment, then self-reduction
Increment first, then assign value
First self-subtraction,
Douglas Crockford Classified the "class methods" in JavaScript into three types:Private,Privilegedand Public.Public MethodsThe obvious meaning:they can be accessed by the public.Private Methods' Meaning is also clear:they cannot is accessed by the
In JavaScript, only one way to delete a node is provided: RemoveChild ().The RemoveChild () method is used to delete a child node of the parent node.Grammar:Parent.removechild (Thisnode)Parameter description:
Parameters
The ES5 syntax does not support class classes, but you can declare a class by clearing the function as follows:function person (name) {This.name=name;}var john=new person (' John ');Console.log (john.name);//johnBut this class can be called directly
JS Basics
The page consists of three parts:
HTML: Hypertext Markup Language, responsible for page structure
CSS: Cascading style Sheets, responsible for page styles
JS: A lightweight scripting language, responsible for the
In JS, arrays are special objects, all objects have properties, arrays have, arrays represent collections of ordered data, and objects represent collections of unordered data.What is the pseudo-array, of course, it is also an object, pseudo-arrays
Last June. ES2015 officially announced (aka ES6. ES6 is its nickname), in which promise is classified as a formal norm. As one of the most important features of ES6, we need to master and understand it thoroughly. This article will be from shallow
At the time of learning javascript, want to learn how to write the Carousel map, the results in Baidu search for a half-day also difficult to find a complete carousel diagram Case. Now share a JS write the Carousel map for everyone to reference and
Webpack 2.x basic development environment for reactjs configuration, webpackreactjs
This article describes how to configure the basic development environment of reactjs in webpack 2.x:
Current webpack version: 2.2; react: 15.4.2
The upgrade of
React-webpack2-thermal module replacement [HMR], react-webpack2-hmr
This article introduces the react-webpack2-hot module replacement [HMR], share with you, the details are as follows:
The module hot replacement function replaces, adds, or deletes a
Small Program local image processing by screen size, small program screen size
Small Program local image processing by screen size
Preface:
I personally feel that the IDE of small programs is sometimes inconvenient to use. Maybe it is the reason why
Js implements the multi-choice function example by dragging the mouse and dragging the multiple-choice example by js
Recently, I made a function to implement multiple selections by dragging the mouse with js, So I sorted out my ideas and wrote a
Use JS to implement simple login verification and js login verification
Implementation Process
Code
login account: 6-10 letters, numbers, and underscores password: 8-20 letters, numbers, and underscores
The following is a
Use CSS to enable hardware acceleration to improve website performance and css Hardware acceleration
Address: http://www.cnblogs.com/rubylouvre/p/3471490.html
Address:
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.