I have a small /javascript,Babel script, that runs just fine in Chrome and Firefox browsers, but it fails in Internet Explorer 11.
I hope somebody can help me.
If you are using jquery, you can try jQuery.extend( target [, object1 ] [, objectN ] ). Your code:
const eventData = $.extend({}, eventItem);