JavaScript Functions)

Source: Internet
Author: User
Tags natural logarithm
The ABS method returns the absolute value of a number.
The ACOs method returns the arc cosine of a number.
The anchor method adds an HTML anchor with the name attribute at both ends of the specified text of the object.
The asin method returns the arc sine of a number.
The atan method returns the arc tangent of a number.
The atan2 method returns the angle (in radians) from the X-axis to the point (Y, X ).
The atend method returns a Boolean value indicating whether the enumeration operator is at the end of the set.
The big method adds the HTML <big> identifier to both ends of the string object text.
The blink method adds the HTML <blink> identifier to both ends of the text in the string object.
The bold method adds the HTML <B> identifier to both ends of the text in the string object.
The Ceil method returns the smallest integer greater than or equal to its numeric value.
The charat method returns the characters at the specified index position.
The charcodeat method returns the Unicode encoding of the specified character.
The compile method compiles a regular expression into an internal format.
The Concat method (array) returns a new array composed of two arrays.
The Concat method (string) returns a String object that contains the connection of the given two strings.
The CoS method returns the cosine of a number.
The dimensions method returns the dimension of vbarray.
The escape method encodes string objects so that they can be read on all computers.
The eval method evaluates the JScript code and then executes it.
The exec method performs a matching search in the specified string.
The exp method returns the power of E (base of natural logarithm.
The fixed method adds the HTML <tt> identifier to both ends of the text in the string object.
The floor method returns the maximum integer that is less than or equal to the value.
The fontcolor method adds the <font> identifier of HTML with the color attribute to both ends of the text in the string object.
The fontsize method adds the <font> identifier of HTML with the size attribute to both ends of the text in the string object.
The fromcharcode method returns the string of the Unicode character value.
The getdate method uses the local time to return the month and date value of the date object.
The getday method returns the day of the week of the date object using the local time.
The getfullyear method returns the year of the date object using the local time.
The gethours method returns the hour value of the date object using the local time.
The getitem method returns the items at the specified position.
The getmilliseconds method returns the millisecond value of the date object using the local time.
The getminutes method returns the minute value of the date object using the local time.
The getmonth method returns the month of the date object using the local time.
The getseconds method returns the number of seconds of the date object using the local time.
The gettime method returns the time in the date object.
The gettimezoneoffset method returns the difference (in minutes) between the host time and the Global Standard Time (UTC ).
The getutcdate method uses the Global Standard Time (UTC) to return the date value of the date object.
The getutcday method uses the Global Standard Time (UTC) to return the day of the week of the date object.
The getutcfullyear method uses the Global Standard Time (UTC) to return the year of the date object.
The getutchours method returns the hour of the date object using the Global Standard Time (UTC.
The getutcmilliseconds method returns the number of milliseconds of the date object using the Global Standard Time (UTC.
The getutcminutes method uses the Global Standard Time (UTC) to return the minutes of the date object.
The getutcmonth method uses the Global Standard Time (UTC) to return the month value of the date object.
The getutcseconds method returns the number of seconds of the date object using the Global Standard Time (UTC.
The getvardate method returns vt_date in the date object.
The getyear method returns the year in the date object.
The indexof method returns the first occurrence of a substring in a string object.
The isfinite method returns a Boolean value, indicating whether a given number is poor.
The isnan method returns a Boolean value, indicating whether a value is a reserved value, Nan (not a number ).
The italics method adds the HTML <I> identifier to both ends of the text in the string object.
The item method returns the current item in the set.
The join method returns a String object connected by all elements in the array.
The lastindexof method returns the position at the end of the substring of the string object.
The lbound method returns the minimum index value used to specify the dimension in vbarray.
The Link Method adds the HTML anchor with the href attribute to both ends of the text in the string object.
The log method returns the natural logarithm of a number.
The match method searches for strings using the given regular expression object and returns the results as an array.
The max method returns the larger of the given two expressions.
The min method returns the smallest of the given two numbers.
The movefirst method sets the current item in the set as the first item.
The movenext method sets the current item as the next item in the set.
The parse method analyzes the strings containing dates and returns the number of milliseconds between the date and the January 1, January 1, 1970.
The parsefloat method returns the floating point number converted from the string.
The parseint method returns an integer converted from a string.
The POW method returns the value of a base expression with a specified power.
The random method returns a pseudo-random number between 0 and 1.
The replace method returns a copy of the string after text replacement based on the regular expression.
The reverse method returns an array object in reverse order of elements.
The round method rounds a specified value expression to the nearest integer and returns it.
The search method returns the position of the first substring that matches the content of the regular expression.
The setdate method uses the local time to set the value date of the date object.
The setfullyear method uses the local time to set the year of the date object.
The sethours method uses the local time to set the hour value of the date object.
The setmilliseconds method uses the local time to set the millisecond value of the date object.
The setminutes method uses the local time to set the minute value of the date object.
The setmonth method uses the local time to set the month of the date object.
The setseconds method uses the local time to set the second value of the date object.
The settime method sets the date and time of the date object.
The setutcdate method uses the Global Standard Time (UTC) to set the value date of the date object.
The setutcfullyear method uses the Global Standard Time (UTC) to set the year of the date object.
The setutchours method uses the Global Standard Time (UTC) to set the hour value of the date object.
The setutcmilliseconds method uses the Global Standard Time (UTC) to set the millisecond value of the date object.
The setutcminutes method uses the Global Standard Time (UTC) to set the minute value of the date object.
The setutcmonth method uses the Global Standard Time (UTC) to set the month of the date object.
The setutcseconds method uses the Global Standard Time (UTC) to set the second value of the date object.
The setyear method uses the year of the date object.
The sin method returns the sine of a number.
The Slice Method (array) returns a segment of the array.
The Slice Method (string) returns a segment of the string.
The small method adds the HTML <small> identifier to both ends of the text in the string object.
The sort method returns an array object whose elements are sorted.
The split method Splits a string into substrings and returns the result as a string array.
The SQRT method returns the square root of a number.
The strike method adds the HTML <strike> identifier to both ends of the text in the string object.
The sub method places the HTML <sub> identifier on both ends of the text in the string object.
The substr method returns a substring with a specified length starting from the specified position.
The substring method returns the substring at the specified position in the string object.
The sup method places the HTML <sup> identifier to both ends of the text in the string object.
The tan method returns the tangent of a number.
The test method returns a Boolean value, indicating whether a pattern exists in the searched string.
The toarray method returns a standard JScript array converted from vbarray.
The togmtstring method returns a date converted to a string using Greenwich Mean Time (GMT.
The tolocalestring method returns the date of a string converted to the local time.
The tolowercase method returns a string with all letters converted to lowercase letters.
The tostring method returns the string representation of an object.
The touppercase method returns a string in which all letter characters are converted to uppercase letters.
The toutcstring method returns a date converted to a string using the Global Standard Time (UTC.
The ubound method returns the maximum index value used in the specified dimension of vbarray.
The Unescape method decodes string objects encoded using the escape method.
The UTC method returns the number of milliseconds between the Global Standard Time (UTC) (or GMT) at January 1, January 1, 1970 and the specified date.
The valueof method returns the original value of the specified object.

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.