The cancelable event property is used to return Boolean values indicating whether an event is a cancelable event or not. For canceling it, we use preventDefault() method. The event is said to be cancelable if we can prevent its default action.
Its syntax is:- event.cancelable
Its return is:- true if an event is cancelable else false