Since that block checks for the existence of options, if no options object is passed in it will default to the else block and use replace mode. Docs don't explicitly say what the default is but the example makes it seem like replace mode must be specified with the option, and that would make the most sense.
From https://github.com/erikringsmuth/app-router/blob/v2.3.0/src/app-router.js#L111:
Since that block checks for the existence of
options
, if no options object is passed in it will default to the else block and use replace mode. Docs don't explicitly say what the default is but the example makes it seem like replace mode must be specified with the option, and that would make the most sense.