rect() vs rectMode() docs

The rect() docs says that by default, x and y are the position of the lower-left corner.

rectMode.CORNER says that x and y are the upper-left corner.

The rectMode docs seem to be out of date.

Is the default corner? Sort of skimming the forum waiting on a pizza