I am confused about the following problem:
defined onunhandledrejection
onunhandledrejection
window.onunhandledrejection = event =>{ event.preventDefaul
Since test2 is an async function, its result is wrapped in a Promise.
Promise
JavaScript Async Return Value