The WebGLRenderingContext.bufferData() method of the WebGL API initializes and creates the buffer object's data store.
WebGLRenderingContext.bufferData()
external void bufferData( GLenum target, JSAny? dataOrSize, GLenum usage, );