"beforeUnSelect" javascript error

Hello.
When I use the “beforeunselect” function,
If you do return false,
A javascript error will occur.

https://docs.dhtmlx.com/suite/grid/api/selection/selection_beforeunselect_event/
https://snippet.dhtmlx.com/giar79df


grid.events.on(“BeforeUnSelect”, function(row, col){
console.log(“beforeUnSelect”, row, col);
return false;
});

What’s the cause?
And can you solve it?

According to the Selection event docs, the beforeUnSelect is only available for:

The event can be applied to the DataView, List, Tree components.

https://docs.dhtmlx.com/suite/selection/api/selection_beforeunselect_event/