JavaScript objects and Array reference Encyclopedia (8)

Source: Internet
Author: User
Tags array mathematical constants natural logarithm reference window port number
Reference | objects | Array Onmouseover mouse over object

B.18 Links Array

It is a property of the Document object, a list of all the links in the documentation.

Property

Number of links within length document

B.19 Location Object

It is a property of the Document object, and the full URL of it, do not confuse it with the Window.location property, which can be used to load a new document, and the Window.location property itself is not an object, and Window.location can be modified with scripting, while document.location cannot.

Property

A string that begins with a hash number (#) that specifies an anchor point within the URL
Host name portion of the URL that includes the colon and port number
Hostname is the same as the host property except that the colon and port number are not included
href complete URL
The directory path portion of the pathname URL
Port URL: Ports section
Type of protocol URL (http:, ftp:, Gopher: etc.)
Search with a question mark (?) A part of the beginning URL that specifies the search information
The window used to display the contents of the referenced document when the target user clicks the link (target attribute)

b.20 Math Object

This object is not a property of other objects, but a built-in object that contains many mathematical constants and functions.

Property

E Euler constant, base of natural logarithm (approximately equal to 2.718)
The natural logarithm of the LN2 2 (approximately equal to 0.693)



Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.