The WebGLRenderingContext.sampleCoverage() method of the WebGL API specifies multi-sample coverage parameters for anti-aliasing effects.
WebGLRenderingContext.sampleCoverage()
external void sampleCoverage( GLclampf value, GLboolean invert, );