code: static String getGlobalNameOfEsModuleLocalVariable(
        ModuleMetadata moduleMetadata, String variableName) {
      return variableName + "$$" + getGlobalName(moduleMetadata, /* googNamespace= */ null);
    }
docs: Returns the global name of a variable declared in an ES module.