The WebGLRenderingContext.getSupportedExtensions() method returns a list of all the supported WebGL extensions.
WebGLRenderingContext.getSupportedExtensions()
external JSArray<JSString>? getSupportedExtensions();