JavaScript Common Word Collation

Source: Internet
Author: User

JS Word

Push: Add an array element

Document: Documents

Pop: Delete the last array element

Console: Consoles

Shift: Delete the first element of an array

String: Strings

Concat combined Array

Undefined: Not defined

typeof: Keywords

Join: Convert array to specified delimiter

Slice: Returns the specified array

Length: Array lengths

Array: Arrays

Number: Numeric

Boolean: Boolean

Alert: Prompt Box

parseint: Converting to Integer value

Continue: Continue

is NaN: non-numeric

Sort: Ascending

Break: Truncation jumps out

Reverse: Reverse

Object: Types of objects

Parsefloat: Converting to floating point value

Index: Indexed

Floor: Rounding Down

Variable: variable

Ceil: Rounding up

Round: Rounding

ABS: Return absolute value

Eval: Parsing strings and arithmetic

Max: Compare Max values

return: Back

Min: Compare minimum value

AddEventListener: Event name function

To.fixed: Keep the decimal point

Attachevant: (on) event name

Random: Randomly number

Eletment: Elements

OnClick: Mouse click event

EventName: Event Name

OnDblClick: Mouse Double-click event

Function: Functions

Onselect: Content is selected event

RemoveEventListener: Event Cancellation

onMouseOver: Mouse Move-in event

DetachEvent: Deleting registered Events

onMouseOut: Mouse Out Event

Open (): Popup A new window

Onfocus: Getting Focus events

Function: Functions (methods)

ShowModalDialog: Popup A modal window

Close (): Close the current window

Onblur: Lost Focus Event

OnKeyDown: Keyboard pressed event (front)

Date: Day Object

OnKeyUp: Keyboard Release Event

onkeypress: Keyboard pressed event (rear)

getFullYear (): Year

GetMonth (): Month (0--11)

GetDate (): Date

GetDay (): Days of the week (Monday to Saturday)

GetHours (): Hours (0--23)

Getminites (): Min

Getseconds (): Number of seconds (0--59)

Getmilliseconds (): Number of milliseconds

GetTime (): Number of milliseconds from 1970 to present

Date.now (): Millisecond value from 1970 to present

toLocaleDateString (): Output localized date

SetTimeout: Delay Time

toLocaleTimeString (): Output Localized time

Cleartimeout: Timer Object

toLocaleString: Date and time when the output was localized

SetInterval: Interval Time

Clearinterval: Stop

Window.status: Browser status bar information

Window.screen: Screen Information

Screen.width: Screen width

Screen.height: Screen Height

Screen.availwidth: Remove taskbar width

Screen.avaiheight: Remove taskbar height

History: Browse historical records

Location: Address Bar Object

onchange; Content Change events

onkeydown; keyboard pressed event (front)

onkeyup; Keyboard Release Event

onkeypress; keyboard pressed event (rear)

Navigator: Used to get user browser information

appCodeName: string representation of the browser code name

AppName: Returns the name of the browser

AppVersion: Returns the platform and version information for the browser

Platform: Returns the operating system platform running the browser

UserAgent: Returns the server that was sent by the client

User-agent: The value of the head

Exception: Unexpected exceptions (try---catch)

OnLoad: Triggers when page load is complete

Get the Element Object mode:

    • Getelementbyld:
    • Getelementsbyname:
    • Gatelementsbytagname:
    • Getelementbyclassname:
    • You are welcome to join the Learning Exchange Group if you encounter any problems or want to acquire learning resources in the learning process.
      343599877, we learn the front-end together!

JavaScript Common Word Collation

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.