scenario: a system at the front end opens a window for developers to enter code, which runs directly in the browser through new Function
new Function ("payload"," global", passiveEvent.format) (data, window.globalData)
but if you write es6 syntax directly, some browsers do not support it. Now you can think of a way to convert it to es5, through api before running this code. Does babel provide such a browser api
?