In JavaScript, globalthis carries a long list of methods. This page is meant to serve as a companion to the JS Methods article. There we have every method in JavaScript sorted by the object the method is attached to. The only thing not included there is globalThis. Given the 1,500+ methods on globalThis, and the fact that they are all represented already (other for the methods dealing with Wb API's), this list was too large and not really necessary as part of that list. It should, however, be available to make that list complete. Below e have globalThis in all of its glory. 🙂
- AbortController
- AbortSignal
- AbsoluteOrientationSensor
- Accelerometer
- AnalyserNode
- Animation
- AnimationEffect
- AnimationEvent
- ApplicationCache
- ApplicationCacheErrorEvent
- Array
- ArrayBuffer
- Attr
- Audio
- AudioBuffer
- AudioBufferSourceNode
- AudioContext
- AudioDestinationNode
- AudioListener
- AudioNode
- AudioParam
- AudioParamMap
- AudioProcessingEvent
- AudioScheduledSourceNode
- AudioWorklet
- AudioWorkletNode
- AuthenticatorAssertionResponse
- AuthenticatorAttestationResponse
- AuthenticatorResponse
- BackgroundFetchManager
- BackgroundFetchRecord
- BackgroundFetchRegistration
- BarProp
- BaseAudioContext
- BatteryManager
- BeforeInstallPromptEvent
- BeforeUnloadEvent
- BigInt
- BigInt64Array
- BigUint64Array
- BiquadFilterNode
- Blob
- BlobEvent
- Bluetooth
- BluetoothCharacteristicProperties
- BluetoothDevice
- BluetoothRemoteGATTCharacteristic
- BluetoothRemoteGATTDescriptor
- BluetoothRemoteGATTServer
- BluetoothRemoteGATTService
- BluetoothUUID
- Boolean
- BroadcastChannel
- ByteLengthQueuingStrategy
- CDATASection
- CSS
- CSSConditionRule
- CSSFontFaceRule
- CSSGroupingRule
- CSSImageValue
- CSSImportRule
- CSSKeyframeRule
- CSSKeyframesRule
- CSSKeywordValue
- CSSMathInvert
- CSSMathMax
- CSSMathMin
- CSSMathNegate
- CSSMathProduct
- CSSMathSum
- CSSMathValue
- CSSMatrixComponent
- CSSMediaRule
- CSSNamespaceRule
- CSSNumericArray
- CSSNumericValue
- CSSPageRule
- CSSPerspective
- CSSPositionValue
- CSSRotate
- CSSRule
- CSSRuleList
- CSSScale
- CSSSkew
- CSSSkewX
- CSSSkewY
- CSSStyleDeclaration
- CSSStyleRule
- CSSStyleSheet
- CSSStyleValue
- CSSSupportsRule
- CSSTransformComponent
- CSSTransformValue
- CSSTranslate
- CSSUnitValue
- CSSUnparsedValue
- CSSVariableReferenceValue
- Cache
- CacheStorage
- CanvasCaptureMediaStreamTrack
- CanvasGradient
- CanvasPattern
- CanvasRenderingContext2D
- ChannelMergerNode
- ChannelSplitterNode
- CharacterData
- Clipboard
- ClipboardEvent
- ClipboardItem
- CloseEvent
- Comment
- CompositionEvent
- CompressionStream
- ConstantSourceNode
- ConvolverNode
- CountQueuingStrategy
- Credential
- CredentialsContainer
- Crypto
- CryptoKey
- CustomElementRegistry
- CustomEvent
- DOMError
- DOMException
- DOMImplementation
- DOMMatrix
- DOMMatrixReadOnly
- DOMParser
- DOMPoint
- DOMPointReadOnly
- DOMQuad
- DOMRect
- DOMRectList
- DOMRectReadOnly
- DOMStringList
- DOMStringMap
- DOMTokenList
- DataTransfer
- DataTransferItem
- DataTransferItemList
- DataView
- Date
- DecompressionStream
- DelayNode
- DeviceMotionEvent
- DeviceMotionEventAcceleration
- DeviceMotionEventRotationRate
- DeviceOrientationEvent
- Document
- DocumentFragment
- DocumentType
- DragEvent
- DynamicsCompressorNode
- Element
- ElementInternals
- EnterPictureInPictureEvent
- Error
- ErrorEvent
- EvEmitter
- EvalError
- Event
- EventSource
- EventTarget
- External
- FeaturePolicy
- FederatedCredential
- File
- FileList
- FileReader
- Float32Array
- Float64Array
- FocusEvent
- FontFace
- FontFaceSetLoadEvent
- FormData
- FormDataEvent
- FragmentDirective
- Function
- GainNode
- Gamepad
- GamepadButton
- GamepadEvent
- GamepadHapticActuator
- Geolocation
- GeolocationCoordinates
- GeolocationPosition
- GeolocationPositionError
- Gyroscope
- HTMLAllCollection
- HTMLAnchorElement
- HTMLAreaElement
- HTMLAudioElement
- HTMLBRElement
- HTMLBaseElement
- HTMLBodyElement
- HTMLButtonElement
- HTMLCanvasElement
- HTMLCollection
- HTMLContentElement
- HTMLDListElement
- HTMLDataElement
- HTMLDataListElement
- HTMLDetailsElement
- HTMLDialogElement
- HTMLDirectoryElement
- HTMLDivElement
- HTMLDocument
- HTMLElement
- HTMLEmbedElement
- HTMLFieldSetElement
- HTMLFontElement
- HTMLFormControlsCollection
- HTMLFormElement
- HTMLFrameElement
- HTMLFrameSetElement
- HTMLHRElement
- HTMLHeadElement
- HTMLHeadingElement
- HTMLHtmlElement
- HTMLIFrameElement
- HTMLImageElement
- HTMLInputElement
- HTMLLIElement
- HTMLLabelElement
- HTMLLegendElement
- HTMLLinkElement
- HTMLMapElement
- HTMLMarqueeElement
- HTMLMediaElement
- HTMLMenuElement
- HTMLMetaElement
- HTMLMeterElement
- HTMLModElement
- HTMLOListElement
- HTMLObjectElement
- HTMLOptGroupElement
- HTMLOptionElement
- HTMLOptionsCollection
- HTMLOutputElement
- HTMLParagraphElement
- HTMLParamElement
- HTMLPictureElement
- HTMLPreElement
- HTMLProgressElement
- HTMLQuoteElement
- HTMLScriptElement
- HTMLSelectElement
- HTMLShadowElement
- HTMLSlotElement
- HTMLSourceElement
- HTMLSpanElement
- HTMLStyleElement
- HTMLTableCaptionElement
- HTMLTableCellElement
- HTMLTableColElement
- HTMLTableElement
- HTMLTableRowElement
- HTMLTableSectionElement
- HTMLTemplateElement
- HTMLTextAreaElement
- HTMLTimeElement
- HTMLTitleElement
- HTMLTrackElement
- HTMLUListElement
- HTMLUnknownElement
- HTMLVideoElement
- HashChangeEvent
- Headers
- History
- IDBCursor
- IDBCursorWithValue
- IDBDatabase
- IDBFactory
- IDBIndex
- IDBKeyRange
- IDBObjectStore
- IDBOpenDBRequest
- IDBRequest
- IDBTransaction
- IDBVersionChangeEvent
- IIRFilterNode
- IdleDeadline
- Image
- ImageBitmap
- ImageBitmapRenderingContext
- ImageCapture
- ImageData
- InputDeviceCapabilities
- InputDeviceInfo
- InputEvent
- Int16Array
- Int32Array
- Int8Array
- IntersectionObserver
- IntersectionObserverEntry
- Keyboard
- KeyboardEvent
- KeyboardLayoutMap
- KeyframeEffect
- LargestContentfulPaint
- LayoutShift
- LinearAccelerationSensor
- Location
- Lock
- LockManager
- MIDIAccess
- MIDIConnectionEvent
- MIDIInput
- MIDIInputMap
- MIDIMessageEvent
- MIDIOutput
- MIDIOutputMap
- MIDIPort
- Map
- Masonry
- MediaCapabilities
- MediaDeviceInfo
- MediaDevices
- MediaElementAudioSourceNode
- MediaEncryptedEvent
- MediaError
- MediaKeyMessageEvent
- MediaKeySession
- MediaKeyStatusMap
- MediaKeySystemAccess
- MediaKeys
- MediaList
- MediaMetadata
- MediaQueryList
- MediaQueryListEvent
- MediaRecorder
- MediaSession
- MediaSettingsRange
- MediaSource
- MediaStream
- MediaStreamAudioDestinationNode
- MediaStreamAudioSourceNode
- MediaStreamEvent
- MediaStreamTrack
- MediaStreamTrackEvent
- MessageChannel
- MessageEvent
- MessagePort
- MimeType
- MimeTypeArray
- MouseEvent
- MutationEvent
- MutationObserver
- MutationRecord
- NamedNodeMap
- NetworkInformation
- Node
- NodeFilter
- NodeIterator
- NodeList
- Notification
- Number
- Object
- OfflineAudioCompletionEvent
- OfflineAudioContext
- OffscreenCanvas
- OffscreenCanvasRenderingContext2D
- Option
- OrientationSensor
- OscillatorNode
- Outlayer
- OverconstrainedError
- PageTransitionEvent
- PannerNode
- PasswordCredential
- Path2D
- PaymentAddress
- PaymentInstruments
- PaymentManager
- PaymentMethodChangeEvent
- PaymentRequest
- PaymentRequestUpdateEvent
- PaymentResponse
- Performance
- PerformanceElementTiming
- PerformanceEntry
- PerformanceEventTiming
- PerformanceLongTaskTiming
- PerformanceMark
- PerformanceMeasure
- PerformanceObserver
- PerformanceObserverEntryList
- PerformancePaintTiming
- PerformanceResourceTiming
- PerformanceServerTiming
- PerformanceTiming
- PeriodicSyncManager
- PeriodicWave
- PermissionStatus
- Permissions
- PhotoCapabilities
- PictureInPictureWindow
- Plugin
- PluginArray
- PointerEvent
- PopStateEvent
- Presentation
- PresentationAvailability
- PresentationConnection
- PresentationConnectionAvailableEvent
- PresentationConnectionCloseEvent
- PresentationConnectionList
- PresentationReceiver
- PresentationRequest
- ProcessingInstruction
- ProgressEvent
- Promise
- PromiseRejectionEvent
- Proxy
- PublicKeyCredential
- PushManager
- PushSubscription
- PushSubscriptionOptions
- RTCCertificate
- RTCDTMFSender
- RTCDTMFToneChangeEvent
- RTCDataChannel
- RTCDataChannelEvent
- RTCDtlsTransport
- RTCError
- RTCErrorEvent
- RTCIceCandidate
- RTCIceTransport
- RTCPeerConnection
- RTCPeerConnectionIceErrorEvent
- RTCPeerConnectionIceEvent
- RTCRtpReceiver
- RTCRtpSender
- RTCRtpTransceiver
- RTCSctpTransport
- RTCSessionDescription
- RTCStatsReport
- RTCTrackEvent
- RadioNodeList
- Range
- RangeError
- ReadableStream
- ReadableStreamDefaultReader
- ReferenceError
- RegExp
- RelativeOrientationSensor
- RemotePlayback
- ReportingObserver
- Request
- ResizeObserver
- ResizeObserverEntry
- Response
- SVGAElement
- SVGAngle
- SVGAnimateElement
- SVGAnimateMotionElement
- SVGAnimateTransformElement
- SVGAnimatedAngle
- SVGAnimatedBoolean
- SVGAnimatedEnumeration
- SVGAnimatedInteger
- SVGAnimatedLength
- SVGAnimatedLengthList
- SVGAnimatedNumber
- SVGAnimatedNumberList
- SVGAnimatedPreserveAspectRatio
- SVGAnimatedRect
- SVGAnimatedString
- SVGAnimatedTransformList
- SVGAnimationElement
- SVGCircleElement
- SVGClipPathElement
- SVGComponentTransferFunctionElement
- SVGDefsElement
- SVGDescElement
- SVGElement
- SVGEllipseElement
- SVGFEBlendElement
- SVGFEColorMatrixElement
- SVGFEComponentTransferElement
- SVGFECompositeElement
- SVGFEConvolveMatrixElement
- SVGFEDiffuseLightingElement
- SVGFEDisplacementMapElement
- SVGFEDistantLightElement
- SVGFEDropShadowElement
- SVGFEFloodElement
- SVGFEFuncAElement
- SVGFEFuncBElement
- SVGFEFuncGElement
- SVGFEFuncRElement
- SVGFEGaussianBlurElement
- SVGFEImageElement
- SVGFEMergeElement
- SVGFEMergeNodeElement
- SVGFEMorphologyElement
- SVGFEOffsetElement
- SVGFEPointLightElement
- SVGFESpecularLightingElement
- SVGFESpotLightElement
- SVGFETileElement
- SVGFETurbulenceElement
- SVGFilterElement
- SVGForeignObjectElement
- SVGGElement
- SVGGeometryElement
- SVGGradientElement
- SVGGraphicsElement
- SVGImageElement
- SVGLength
- SVGLengthList
- SVGLineElement
- SVGLinearGradientElement
- SVGMPathElement
- SVGMarkerElement
- SVGMaskElement
- SVGMatrix
- SVGMetadataElement
- SVGNumber
- SVGNumberList
- SVGPathElement
- SVGPatternElement
- SVGPoint
- SVGPointList
- SVGPolygonElement
- SVGPolylineElement
- SVGPreserveAspectRatio
- SVGRadialGradientElement
- SVGRect
- SVGRectElement
- SVGSVGElement
- SVGScriptElement
- SVGSetElement
- SVGStopElement
- SVGStringList
- SVGStyleElement
- SVGSwitchElement
- SVGSymbolElement
- SVGTSpanElement
- SVGTextContentElement
- SVGTextElement
- SVGTextPathElement
- SVGTextPositioningElement
- SVGTitleElement
- SVGTransform
- SVGTransformList
- SVGUnitTypes
- SVGUseElement
- SVGViewElement
- Screen
- ScreenOrientation
- ScriptProcessorNode
- SecurityPolicyViolationEvent
- Selection
- Sensor
- SensorErrorEvent
- ServiceWorker
- ServiceWorkerContainer
- ServiceWorkerRegistration
- Set
- ShadowRoot
- SourceBuffer
- SourceBufferList
- SpeechSynthesisErrorEvent
- SpeechSynthesisEvent
- SpeechSynthesisUtterance
- StaticRange
- StereoPannerNode
- Storage
- StorageEvent
- StorageManager
- String
- StylePropertyMap
- StylePropertyMapReadOnly
- StyleSheet
- StyleSheetList
- SubmitEvent
- SubtleCrypto
- Symbol
- SyncManager
- SyntaxError
- TaskAttributionTiming
- Text
- TextDecoder
- TextDecoderStream
- TextEncoder
- TextEncoderStream
- TextEvent
- TextMetrics
- TextTrack
- TextTrackCue
- TextTrackCueList
- TextTrackList
- TimeRanges
- Touch
- TouchEvent
- TouchList
- TrackEvent
- TransformStream
- TransitionEvent
- TreeWalker
- TypeError
- UIEvent
- URIError
- URL
- URLSearchParams
- USB
- USBAlternateInterface
- USBConfiguration
- USBConnectionEvent
- USBDevice
- USBEndpoint
- USBInTransferResult
- USBInterface
- USBIsochronousInTransferPacket
- USBIsochronousInTransferResult
- USBIsochronousOutTransferPacket
- USBIsochronousOutTransferResult
- USBOutTransferResult
- Uint16Array
- Uint32Array
- Uint8Array
- Uint8ClampedArray
- UserActivation
- VTTCue
- ValidityState
- VideoPlaybackQuality
- VisualViewport
- WaveShaperNode
- WeakMap
- WeakSet
- WebGL2RenderingContext
- WebGLActiveInfo
- WebGLBuffer
- WebGLContextEvent
- WebGLFramebuffer
- WebGLProgram
- WebGLQuery
- WebGLRenderbuffer
- WebGLRenderingContext
- WebGLSampler
- WebGLShader
- WebGLShaderPrecisionFormat
- WebGLSync
- WebGLTexture
- WebGLTransformFeedback
- WebGLUniformLocation
- WebGLVertexArrayObject
- WebKitCSSMatrix
- WebKitMutationObserver
- WebSocket
- WheelEvent
- Window
- Worker
- Worklet
- WritableStream
- WritableStreamDefaultWriter
- XMLDocument
- XMLHttpRequest
- XMLHttpRequestEventTarget
- XMLHttpRequestUpload
- XMLSerializer
- XPathEvaluator
- XPathExpression
- XPathResult
- XR
- XRBoundedReferenceSpace
- XRFrame
- XRHitTestResult
- XRHitTestSource
- XRInputSource
- XRInputSourceArray
- XRInputSourceEvent
- XRInputSourcesChangeEvent
- XRPose
- XRRay
- XRReferenceSpace
- XRReferenceSpaceEvent
- XRRenderState
- XRRigidTransform
- XRSession
- XRSessionEvent
- XRSpace
- XRTransientInputHitTestResult
- XRTransientInputHitTestSource
- XRView
- XRViewerPose
- XRViewport
- XRWebGLLayer
- XSLTProcessor
- addEventListener
- alert
- atob
- blur
- btoa
- cancelAnimationFrame
- cancelIdleCallback
- captureEvents
- clearInterval
- clearTimeout
- close
- confirm
- constructor
- createImageBitmap
- decodeURI
- decodeURIComponent
- dispatchEvent
- encodeURI
- encodeURIComponent
- escape
- eval
- fetch
- find
- focus
- getComputedStyle
- getSelection
- getSize
- hasOwnProperty
- isFinite
- isNaN
- isPrototypeOf
- jQueryBridget
- masFunct
- matchMedia
- matchesSelector
- moveBy
- moveTo
- open
- openDatabase
- parseFloat
- parseInt
- postMessage
- prompt
- propertyIsEnumerable
- queueMicrotask
- ready
- releaseEvents
- removeEventListener
- requestAnimationFrame
- requestIdleCallback
- resizeBy
- resizeTo
- scroll
- scrollBy
- scrollTo
- setInterval
- setTimeout
- setupTextShowBtns
- showMethodsTextBtnsHandler
- stop
- toLocaleString
- toString
- unescape
- valueOf
- webkitCancelAnimationFrame
- webkitMediaStream
- webkitRTCPeerConnection
- webkitRequestAnimationFrame
- webkitRequestFileSystem
- webkitResolveLocalFileSystemURL
- webkitSpeechGrammar
- webkitSpeechGrammarList
- webkitSpeechRecognition
- webkitSpeechRecognitionError
- webkitSpeechRecognitionEvent
- webkitURL
2 Replies to “Every Method on globalThis in JS”