code: function glEnumToString(value) {
    checkInit();
    var name = glEnums[value];
    return (name !== undefined) ? name :
        ("*UNKNOWN WebGL ENUM (0x" + value.toString(16) + ")");
  }
docs: Gets an string version of an WebGL enum.
  
  Example:
  var str = WebGLDebugUtil.glEnumToString(ctx.getError());
  
  @param {number} value Value to return an enum for
  @return {string} The string version of the enum.