Как назвать тег input переменной
Здрастуйте,у меня есть 1 код:
<table>
<tr>
<% categories.forEach(element => { %>
<th><input class="favorite styled" type="button" value="123" /></th>
<% }); %>
</tr>
</table>
Как мне сделать чтобы value ровнялся element?