How does nunjucks render the parameters in the tag?

{% for item in list %}
  <li onclick="edit(item._id)" data-id="">
    <p class="content">{{ item.title }}

<p class="date">{{ item.createdAt }}

</li> {% endfor %}

as in the previous code, how do I pass _ id in item as a parameter to a parameter in the edit event?

Jun.24,2021

<li onclick="edit({{item._id}})" data-id="">
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b362de-2bffa.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b362de-2bffa.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?