I'm trying to learn JQuery and I got this error. Invalid left-hand side in assignment
I'm trying to point the selector without using any events function.
let a = $("td:contains('"+ word +"')") = function(){
$(this).closest('tr').hide();
$(this).closest('tr').wrap('<hidden>');
state = true;
}
a();