In my code, I have something that boils down to this:
var x = y || ()=>{};
(In case you are wondering, I am later calling x()
x()
try this var x =( y || (()=>{}));
var x =( y || (()=>{}));