code works? can someone explain it?
is sendBeacon is exist in navigator? is payload thruthy values? if so, then call sendBeacon // same as if (navigator.sendBeacon && payload) { navigator.sendBeacon(_this.options.ing. estUrl, JSON.stringify(payload)) }
Обсуждают сегодня