I have a return statement that was used in this Stackover answer, that I can’t quite understand. Here it is:
return maxWidth > $this.width() || maxHeight > $this.height();
What does it mean to return something in way?
I’ll edit the title of this question after an answer as soon as I know what it is 🙂
It’s the equivalent of:
In other words, if either
maxWidthis greater than thewidth()of$thisormaxHeightis greater than theheight()of$this, it will returntrue; otherwise, it will returnfalse.