Sorry if this is posted a ton but search fields like to repurpose "=" so it's very hard to search for == javascript "== javascript" etc.
But I have some code I'm writing and in certain places == is required and in others = is required. Can someone explain the differences or point me in the direction of the resource that can?
Example:
if ($('#block').css.display=='none') {
$('#block').css.display='block';
The only thing I can come up with is that in one I'm changing and in the other I'm checking. But in both I am referring to equality.