AIUI, the exit would be with no deal in place.
This ^^
Just to add, ALL 27 Members need to approve the extension. Meaning just one saying no will Veto the extension.
Thank you.
So if this does happen, the fact that UK parliament put a law in place to make Brexit without a deal illegal means nothing then. They will basically be forced to leave the EU on 31 Oct. deal-less.