I'm asking this because I went to minify a JS and it gave me a code that I did not quite understand ...
My original code:
$('input').each(function(a,b){if(b.value == "U"){$('.variacao-sku').remove()}});
What he gave me:
$("input").each(function(a,e){"U"==e.value&&$(".variacao-sku").remove()});
The code worked fine, but I did not understand, it did not use if, it checked that the string "U" equals e.value and used the & amp; and removed the item with the remove. What is the meaning of that &&
ali?