The WebGLRenderingContext.drawArrays() method of the WebGL API renders primitives from array data.
WebGLRenderingContext.drawArrays()
external void drawArrays( GLenum mode, GLint first, GLsizei count, );