abort

fun abort()(source)

The abort() method of the SourceBuffer interface aborts the current segment and resets the segment parser.

MDN Reference