I am using a Direct Web Remoting (DWR) JavaScript library file and am getting an error only in Safari (desktop and iPad)
It says
Maximum call
Have come accross the same issue, coulnd't figured out what's wrong started blaming Babel ;)
Having code not returning any exception in browsers :
if (typeof document.body.onpointerdown !== ('undefined' || null)) {
issue was badly created || (or) part as babel creates its own type check:
function _typeof(obj){if(typeof Symbol==="function"&&_typeof(Symbol.iterator)==="symbol")
so removing
|| null
made babel transpilation worked.