The WebGLRenderingContext.getExtension() method enables a WebGL extension.
WebGLRenderingContext.getExtension()
external JSObject? getExtension(String name);