The WebGLRenderingContext.activeTexture() method of the WebGL API specifies which texture unit to make active.
WebGLRenderingContext.activeTexture()
external void activeTexture(GLenum texture);