[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

Javascript 官方文档

Resource

Online

Related

Basic Objects

Array Properties

  • constructor
  • length

Array Methods

  • concat()
  • indexOf()
  • join()
  • lastIndexOf()
  • pop()
  • push()
  • reverse()
  • shift()
  • slice()
  • sort()
  • splice()
  • toString()
  • unshift()
  • valueOf()

Boolean Properties

Boolean Methods

Math Properties

  • E
  • LN10
  • LN2
  • LOG10E
  • LOG2E
  • PI
  • SQRT1_2
  • SQRT2

Math Methods

  • abs(x)
  • acos(x)
  • asin(x)
  • atan(x)
  • atan2(y,x)
  • ceil(x)
  • cos(x)
  • exp(x)
  • floor(x)
  • log(x)
  • max(x,y,z,...,n)
  • min(x,y,z,...,n)
  • pow(x,y)
  • random()
  • round(x)
  • sin(x)
  • sqrt(x)
  • tan(x)

Number Properties

Number Methods

String Properties

String Methods

  • charAt()
  • charCodeAt()
  • fromCharCode()
  • match()
  • replace()
  • search()
  • split()
  • substr()
  • substring()
  • toLowerCase()
  • toUpperCase()

String HTML Wrapper Methods

  • anchor()
  • big()
  • blink()
  • bold()
  • fixed()
  • fontcolor()
  • fontsize()
  • italics()
  • link()
  • small()
  • strike()
  • sub()
  • sup()

Global Properties

  • Infinity
  • NaN
  • undefined

Global Methods

Date Object

Date Properties

Date Methods

  • getDate()
  • getDay()
  • getFullYear()
  • getHours()
  • getMilliseconds()
  • getMinutes()
  • getMonth()
  • getSeconds()
  • getTime()
  • getTimezoneOffset()
  • getUTCDate()
  • getUTCDay()
  • getUTCFullYear()
  • getUTCHours()
  • getUTCMilliseconds()
  • getUTCMinutes()
  • getUTCMonth()
  • getUTCSeconds()
  • parse()
  • setDate()
  • setFullYear()
  • setHours()
  • setMilliseconds()
  • setMinutes()
  • setMonth()
  • setSeconds()
  • setTime()
  • setUTCDate()
  • setUTCFullYear()
  • setUTCHours()
  • setUTCMilliseconds()
  • setUTCMinutes()
  • setUTCMonth()
  • setUTCSeconds()
  • toDateString()
  • toISOString()
  • toJSON()
  • toLocaleDateString()
  • toLocaleString()
  • toLocaleTimeString()
  • toTimeString()
  • toUTCString()
  • UTC()

Browser

Window Properties

  • closed
  • defaultStatus
  • document
  • frames
  • history
  • innerHeight
  • innerWidth
  • location
  • name
  • navigator
  • opener
  • outerHeight
  • outerWidth
  • pageXOffset
  • pageYOffset
  • parent
  • screen
  • screenLeft
  • screenTop
  • screenX
  • screenY
  • self
  • status
  • top

Window Methods

  • alert()
  • blur()
  • clearInterval()
  • clearTimeout()
  • close()
  • confirm()
  • focus()
  • moveBy()
  • moveTo()
  • open()
  • print()
  • prompt()
  • resizeBy()
  • resizeTo()
  • scrollBy()
  • scrollTo()
  • setInterval()
  • setTimeout()

Navigator Properties

  • appCodeName
  • appName
  • appVersion
  • cookieEnabled
  • platform
  • userAgent

Navigator Methods

Screen Properties

  • availHeight
  • availWidth
  • colorDepth
  • height
  • pixelDepth
  • width

History Properties

History Methods

  • back()
  • forward()
  • go()

Location Properties

  • hash
  • host
  • hostname
  • href
  • pathname
  • port
  • protocol
  • search

Location Methods

DOM Events

Mouse Events

  • click
  • dblclick
  • mousedown
  • mousemove
  • mouseout
  • mouseover
  • mouseup

Keyboard Events

  • keydown
  • keypress
  • keyup

Frame Events

  • abort
  • has been loaded">load
  • resize
  • and )">unload

Form Events