The WebGLRenderingContext.cullFace() method of the WebGL API specifies whether or not front- and/or back-facing polygons can be culled.
WebGLRenderingContext.cullFace()
external void cullFace(GLenum mode);