push: Add an array element
document: Document
pop: Delete the last array element
console: Console
shift: delete the first array element
string: string
Concat combined array
undefined: undefined
typeof: Keyword
join: Convert array to specified delimiter
slice: Return specified array
length: Array length
Array: Array
number: number
boolean: Boolean
alert: prompt box
parseInt: converted to integer value
continue: continue
is NaN: not a number
sort: ascending order
break: truncate out
reverse: reverse order
object: object type
parseFloat: Convert to floating point value
index: index
floor: round down
variable: variable
ceil: round up
round: Rounding
abs: Return the absolute value
eval: Parse the string and operate
max: Compare the maximum value
return : Return
min: Compare the minimum value
addEventListener: Event name function
to.fixed: Retain decimal point
attachEvent: (on) event name
random: random number
eletment: element
onclick: mouse click event
eventName: event name
ondblclick: mouse double click Event
function: Function
onselect: Content is selected event
removeEventListener: Event release
onmouseover: Mouse move event
detachEvent : Delete registered events
onmouseout: Mouse out event
open(): Pop up a new window
onfocus: Get focus event
function: function (Method)
showModalDialog: pop up a modal window
close(): close the current window
onblur: lose focus event
onkeydown: keyboard pressed Event (before)
Date: Date object
onkeyup: Keyboard release event
onkeypress: Keyboard press event (after)
getFullYear() : Year
getMonth(): Month (0--11)
getDate(): Day
getDay(): Day of the week (Monday to Saturday)
getHours(): hours (0--23)
getMinites(): minutes
getSeconds(): seconds (0--59)
getMilliseconds(): Number of milliseconds
getTime(): Number of milliseconds from 1970 to the present
Date.now(): Value of milliseconds from 1970 to the present
tolocaleDatestring() : Output localized date
setTimeout: Delay time
tolocaleTimestring(): Output localized time
clearTimeout: Timer object
tolocalestring: Output localized date and time
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 the taskbar height
history: Browsing history
location: Address bar object
onchange; content change event
onkeydown; keyboard press event (Before)
onkeyup;Keyboard release event
onkeypress;Keyboard press event (After)
navigator: used to obtain 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 of the browser
platform: Returns the running Browser's operating system platform
userAgent: Returns the value of the
user-agent: header sent by the client to the server
Exception: Exception unexpected situation (try-- -catch)
onload: Triggered when the page is loaded
How to get the element object:
getElementByld:
getElementsByName:
gatElementsByTagName:
getElementByClassName:
Encountered during the learning process If you have any questions or want to obtain learning resources, you are welcome to join the learning exchange
The above is the detailed content of Detailed introduction to common JavaScript words. For more information, please follow other related articles on the PHP Chinese website!