docs: function throwError(messageFormat) {
          var args, msg;
  
          args = Array.prototype.slice.call(arguments, 1);
          msg = messageFormat.replace(/%(\d)/g,
              function (whole, idx) {
                  assert(idx < args.length, 'Message reference must be in range');
                  return args[idx];
              }
          );
  
          throw createError(lastLineNumber, lastIndex, msg);
      }