render(template, templateData = undefined) {
    const result = template(templateData || {}, this.getInjectedData_());
    asserts.assert(
        !(result instanceof SanitizedContent) ||
            result.contentKind === SanitizedContentKind.HTML,
        'render was called with a strict template of kind other than "html"' +
            ' (consider using renderText or renderStrict)');
    const contentKind =
        result instanceof SanitizedContent ? result.contentKind : null;
    this.handleRender(null /* node */, contentKind);
    return String(result);
  }
Renders a Soy template and returns the output string.
If the template is strict, it must be of kind HTML. To render strict
templates of other kinds, use `renderText` (for `kind="text"`) or
`renderStrictOfKind`.
@param {function(ARG_TYPES, ?Object<string, *>=): *} template The Soy
    template to render.
@param {ARG_TYPES=} templateData The data for the template.
@return {string} The return value of rendering the template directly.
@template ARG_TYPES