To check which extensions are available, you have 2 options
1) call gl.getSupportedExtensions(). It returns a list of available extensions.
Note: you can do this from a JavaScript / web console in a browser. For example, in Chrome, select Tools-> JavaScript Console, then type
document.createElement("canvas").getContext("experimental-webgl").getSupportedExtensions();
.
2) ,
ext = gl.getExtension("ANGLE_instanced_arrays");
if (ext) {
// ANGLE_instanced_arrays extension exists
} else {
// ANGLE_instanced_arrays extension does not exist
}
. , , , .