Open tigrr opened 1 month ago
Google Page Speed insights and Lighthouse both complain "Avoid serving legacy JavaScript to modern browsers". This is due to polyfilling JavaScript built-in Date.now in https://github.com/mixpanel/mixpanel-js/blob/475b2c6853dd49ffc625daac3925bf37940ec390/src/utils.js#L342 This polyfill should be removed, unless there is a goal to support IE 8.
Date.now
Google Page Speed insights and Lighthouse both complain "Avoid serving legacy JavaScript to modern browsers". This is due to polyfilling JavaScript built-in
Date.now
in https://github.com/mixpanel/mixpanel-js/blob/475b2c6853dd49ffc625daac3925bf37940ec390/src/utils.js#L342 This polyfill should be removed, unless there is a goal to support IE 8.