Возможно ли передать response в конструктор?
Возможно ли передать response в конструктор? new PaginationQuestion(1, 12, 'withTags', response.items[i].id)
+ '<div class="mb-1" onclick="new PaginationQuestion(1, 12, \'withTags\', ).setQuestions()">'
+ response.items[i].name
+ '</div>'
+ '<span id="spanX">'
'<span class="item-multiplier-count" id="Tag-countId">'+ response.items[i].id + '</span>'
+ '<div class="mb-1" onclick="new PaginationQuestion(1, 12, \'withTags\', document.getElementById(\'Tag-countId\').value).setQuestions()">'