There are a large number of methods that JavaScript includes as part of the various Objects that are built automatically. The previous article, JS Methods, gave an introduction to methods and detailed some of the more commonly used. There are many more, of course.
Every JavaScript method is listed here, sorted by object, allowing us to see what is available when working with any specific one. These objects usually inherit methods that can be used with the object, but these methods are not exclusive. In the list below, inherited methods can be toggled on or off. When toggled off, the inherited methods will be hidden, allowing us to see all the exclusive methods for an object. When we turn these methods on, we can see both the inherited and exclusive methods. This provides a comprehensive overview of what is possible on each object and, hopefully, offers a clean, readable, and easy-to-use reference.
Note: Given the size of this article,Show Inherited Methods
Function Methods
Object Methods
- apply
- assign
- bind
- call
- constructor
- create
- defineProperties
- defineProperty
- entries
- freeze
- fromEntries
- getOwnPropertyDescriptor
- getOwnPropertyDescriptors
- getOwnPropertyNames
- getOwnPropertySymbols
- getPrototypeOf
- hasOwnProperty
- is
- isExtensible
- isFrozen
- isPrototypeOf
- isSealed
- keys
- preventExtensions
- propertyIsEnumerable
- seal
- setPrototypeOf
- toLocaleString
- toString
- valueOf
- values
Array Methods
- apply
- bind
- call
- concat
- constructor
- copyWithin
- entries
- every
- fill
- filter
- find
- findIndex
- flat
- flatMap
- forEach
- from
- hasOwnProperty
- includes
- indexOf
- isArray
- isPrototypeOf
- join
- keys
- lastIndexOf
- map
- of
- pop
- propertyIsEnumerable
- push
- reduce
- reduceRight
- reverse
- shift
- slice
- some
- sort
- splice
- toLocaleString
- toString
- unshift
- valueOf
- values
Int8Array Methods
Uint8Array Methods
Uint8ClampedArray Methods
Int16Array Methods
Uint16Array Methods
Int32Array Methods
Uint32Array Methods
Float32Array Methods
Float64Array Methods
BigInt64Array Methods
BigUint64Array Methods
String Methods
- anchor
- apply
- big
- bind
- blink
- bold
- call
- charAt
- charCodeAt
- codePointAt
- concat
- constructor
- endsWith
- fixed
- fontcolor
- fontsize
- fromCharCode
- fromCodePoint
- hasOwnProperty
- includes
- indexOf
- isPrototypeOf
- italics
- lastIndexOf
- link
- localeCompare
- match
- matchAll
- normalize
- padEnd
- padStart
- propertyIsEnumerable
- raw
- repeat
- replace
- search
- slice
- small
- split
- startsWith
- strike
- sub
- substr
- substring
- sup
- toLocaleLowerCase
- toLocaleString
- toLocaleUpperCase
- toLowerCase
- toString
- toUpperCase
- trim
- trimEnd
- trimLeft
- trimRight
- trimStart
- valueOf
RegExp Methods
Symbol Methods
Boolean Methods
Number Methods
BigInt Methods
Math Methods
Date Methods
- UTC
- apply
- bind
- call
- constructor
- getDate
- getDay
- getFullYear
- getHours
- getMilliseconds
- getMinutes
- getMonth
- getSeconds
- getTime
- getTimezoneOffset
- getUTCDate
- getUTCDay
- getUTCFullYear
- getUTCHours
- getUTCMilliseconds
- getUTCMinutes
- getUTCMonth
- getUTCSeconds
- getYear
- hasOwnProperty
- isPrototypeOf
- now
- parse
- propertyIsEnumerable
- setDate
- setFullYear
- setHours
- setMilliseconds
- setMinutes
- setMonth
- setSeconds
- setTime
- setUTCDate
- setUTCFullYear
- setUTCHours
- setUTCMilliseconds
- setUTCMinutes
- setUTCMonth
- setUTCSeconds
- setYear
- toDateString
- toGMTString
- toISOString
- toJSON
- toLocaleDateString
- toLocaleString
- toLocaleTimeString
- toString
- toTimeString
- toUTCString
- valueOf