Top-level await allows you to use await outside of async functions in JavaScript
Top-level `await` is coming to JavaScript modules! You’ll soon be able to use `await` without needing to be in an async function. (more…)
Read more »JavaScript allows to declare functions in 6 ways. The article describes how to choose the right declaration type, depending on the situation and function purpose. Read more