title: What are Vertex Arrays in OpenGL & WebGL2?
body: <p>I've been working with WebGL1 for some time but now that I'm learning more about WebGL2, I'm confused what <code>Vertex Array</code>s actually do. For example, in the following <a href="https://github.com/WebGLSamples/WebGL2Samples/blob/master/samples/draw_primitive_restart.html#L90" rel="nofollow noreferrer">example</a>, I can remove all references to them (e.g. creation, binding, deletion) and the example continues to work.</p>