I have the following function:
function getLabelContent(element) {
var label = element.find('label');
return label[0] && label.html();
}
I am puzzled about the return statement and especially the &&
operator which I thought was used to evaluate operands of a boolean expression.
What does the above return statement mean please?