devxlogo

JavaScript Objects

JavaScript Objects

his is a table of the most commonly used JavaScript objects, with all of their properties, methods, and event handlers.

For additional information on JavaScript:

Hierarchy Objects
ObjectPropertiesMethodsEvent Handlers
WindowdefaultStatus
frames
opener
parent
scroll
self
status
top
window
alert
blur
close
confirm
focus
open
prompt
clearTimeout
setTimeout
onLoad
onUnload
onBlur
onFocus
FramedefaultStatus
frames
opener
parent
scroll
self
status
top
window
alert
blur
close
confirm
focus
open
prompt
clearTimeout
setTimeout
none (The onLoad and onUnload event handlers belong to the Window object)
Locationhash
host
hostname
href
pathname
por
protocol
search
reload
replace
none
Historylength
forward
go
backnone
NavigatorappCodeName
appName
appVersion
mimeTypes
plugins
userAgent
javaEnablednone
documentalinkColor
anchors
applets
area
bgColor
cookie
fgColor
forms
images
lastModified
linkColor
links
location
referrer
title
vlinkColor
clear
close
open
write
writeln
none (the onLoad and onUnload event handlers belong to the Window object.
imageborder
complete
height
hspace
lowsrc
name
src
vspace
width
nonenone
formaction
elements
encoding
FileUpload
method
name
target
submit
reset
onSubmit
onReset
textdefaultValue
name
type
value
focus
blur
select
onBlur
onCharge
onFocus
onSelect

Built-in Objects
Arraylengthjoin
reverse
sort xx
none
DatenonegetDate
getDay
getHours
getMinutes
getMonth
getSeconds
getTime
getTimeZoneoffset
getYear
parse
prototype
setDate
setHours
setMinutes
setMonth
setSeconds
setTime
setYear
toGMTString
toLocaleString
UTC
none
Stringlength
prototype
anchor
big
blink
bold
charAt
fixed
fontColor
fontSize
indexOf
italics
lastIndexOf
link
small
split
strike
sub
substring
sup
toLowerCase
toUpperCase
Window

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist