I'm trying to understand how ternary operators work and I came across this example:
b.d >= mystr.length && (function1(b, a), a=0);
What does && mean? is it used like an AND operator? how does this translate to regular statement? What does the coma before a=0 mean? Thanks!