you may say that you do not translate the reference materials that are recommended in vain, but it is important that the author of the article provides a learning mentality. Specific reference content you can go to Google The appropriate knowledge
Anchors[]; Links[]; Link Connection object
Usage: document.anchors[[x]]; DOCUMENT.LINKS[[X]]; ;
Document.anchors is an array that contains all the anchor tags in the document (the tag that contains the Name property), and a subscript is defined
Location Address Object It describes the address that a Window object opens. To represent the address of the current window, you only need to use "location"; to represent the address of a window, use the .location. Previously wrote a piece with
These sites are personal learning process to collect some of the JS site, most of which are foreign (domestic resources relative or very little ah), feeling content is good, and some resources update are relatively fast, I hope that friends can help.
I believe that many beginners in JavaScript and the execution environment and scope chain can not be very good understanding, here, I will follow their own understanding to share with you.
In general, we divide the execution environment into global
(The following questions are only for JavaScript, please note that if you have a problem with the statement, please laugh over the line)
1, what is static class/Pseudo static class
2. What is the syntax for writing static classes in Javsscript?
On your own page to display the data above other sites, need to use Ajax, it involves cross-domain problems,
Solution: JQuery.support.cors = true; (Browsers support Cross-domain access),
Instance:
Copy Code code as follows:
Browsers
These two days are using regular expressions to make a slightly more complicated thing, but the difference between different browsers can waste a lot of my ginseng.
Now I put the regular expression in the five major browsers (IE, Firefox, Chrome,
The Polymer defines a property that has a listening requirement as an accessor property (a property without listening requirements is still a normal attribute-form definition). In the template, you can also use the "::" syntax to synchronize an
Requirejs is an effective way to improve the speed and quality of your JavaScript code, and it also makes your code easier to read and maintain.
In this article, I'll introduce you to Requirejs and how you should use it. We discuss the introduction
The WITH statement specifies the default object for one or a set of statements.
Usage:
With () ;
The With statement is typically used to shorten the amount of code that must be written in a particular case. In the following example, note the
Today we talk about DOM properties.
We've actually touched the DOM attribute before.
Like what:
Nodename,nodetype. Today we explain in detail.
1,nodename Property: The name of the node.
If the node is an element node, then the name of the element
1. Definition and invocation of functions in JavaScript, the most common way to define functions is to invoke a function statement. The statement is composed of a function keyword, it is followed by the following: Ø function name Ø A list of
Global Object
The global object is the most specific object in the ECMAScript because it does not actually exist at all. If you try to write the following code, you get an error:
The error message shows that global is not an object, but was it
Objective
Like other programming languages, JavaScript also has a number of design patterns, such as a single example mode, proxy mode, observer mode, and so on, skilled javascript design patterns can make our code logic clearer, and easier to
Objective
Like the map, the filter of array also receives a function. But unlike a map, filter acts on each element in turn, and then determines whether to retain or discard the element based on whether the return value is true or false.
Example
Introduced
Let's take a look at the official overview of this approach: the reduce() method receives a function as an accumulator (accumulator), and each value in the array (left to right) begins to shrink, eventually to a value.
You must have
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.