JavaScript is my university to do website interest, plus a year to maintain the company's JavaScript-related framework.By the way, review your own methods and techniques for learning JavaScript and share them with your friends who need them.1, base
Commas are also legal in JavaScript statements, which represent the sequential execution of statements that, using it, can be used to line up several statements to a compressed file size. Because of the poor readability of this writing, it is
The slice method can be used in JavaScript either under the prototype of the array object or under the prototype of a string object, where the first parameter of the slice method described above is necessary;The parameters of the slice can be
The company's project suddenly very busy, reading progress obviously slowed down, but still continue to learn slowly ...The for in statement can be used to traverse all property names in an object. This enumeration process will list all of the
[Learn A CSS3 attribute every day] 3: background-size,
This is taken from MDN. Due to time reasons, I failed to sort out and learn it properly. I will reference it first and sort it out when I have time.
Set the background image size.
/* Keyword
JS magic Hall: detailed explanation of IMG element loading BehaviorI. Preface in "JS magic Hall: jsDeferred source code analysis", we learned that img element loading failure can be used as an optimization solution for asynchronous function
JavaScript Object-Oriented Programming (4) confusions caused by prototype Rewriting
Let's look at two phenomena:
1. Declare prototype in component form (partially rewrite). The prototype constructor is a host function rather than an Object, just as
JavaScript object-oriented and prototype (1): Constructor
We are no stranger to constructor. In the Object-Oriented field, constructor is already a common problem. Learning again in JavaScript is really a kind of feeling.
1. Simple
Use jquery. validate. js
1. If the element cannot be verified, first check whether the name attribute is correct, and then check whether there is: ignore :"".
2. Use the onclick event to submit a form for verification. The sample code is as
JavaScript Note 3: Reference Type
1. Object
Create an Object,
Var person = new Object (); var person = {
Person. name = "guoliang"; name: "guoliang ",
Person. age = 20; age: 20
};
In addition, attribute names can also use strings, and the second
JavaScript NOTE 2: variables, scopes, and memory1. Basic and reference typesBasic Type: simple data segmentReference Type: an object that may consist of multiple values. You can only add attributes to the reference type.
When copying their values,
Three. js source code comments (38) Light/Light. js
Reprinted please keep this sentence: Wuji-this blog focuses on Agile development and mobile and IOT device research: data visualization, GOLANG, Html5, WEBGL, THREE. JS. Otherwise, the post from
JavaScript when × when *áá
Please refer to the following link for more information: JavaScript schemavals» ööö½ Å ± *************************************************** μ Ö ö¶ omíø {% ************************************************************** *
Cookie objects in javascript
Attribute
NameUnique attribute that must be set, indicating the cookie name
ExpiresSpecifies the cookie lifecycle. If this parameter is not set, the browser will automatically expire when it is disabled.
E2e test instance in angularjs and angularjse2e instance
In the previous article, we talked about ng unit testing. Today we will talk about e2e (end-to-end) testing.
When we test a single function point of a module, unit testing is the most
AngularJS getting started Tutorial: Learning Environment setup, angularjs getting started tutorial
A good way to learn about AngularJS is to gradually complete this tutorial, which will guide you to build a complete AngularJS web application. This
JS Array processing function arrangement, jsarray
1. concat () connects two or more ArraysThis method does not change the existing array, but only returns a copy of the connected array.For example:
Copy codeThe Code is as follows:
Output result:1, 2,
JQuery image slider focus chart plug-in sorting recommendations, jquery focus
1. Focus Image carousel animation on the right tab implemented by jQuery
The source code of the Focus Image carousel animation effect on the right side of the jQuery
We recommend six image effects extensions Based on jQuery and six jquery extensions.
1. Effect of the focus chart of the graph Network implemented based on jQuery
The jQuery focus chart code of graph visualization. You can set the switching mode,
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