How to change select tools jquery?

There is such code:
<select name="product[status]">
<option selected="" value="1">Published at</option>
<option value="0">Hidden site</option>

How can I use jquery to select the option value = 0?
April 3rd 20 at 17:39
1 answer
April 3rd 20 at 17:41
For such a trivial operation jquery is not needed:
document.querySelector('select[name="product[status]"]>option[value="0"]').selected = true;

Find more questions by tags jQuery