matheusmello.io
BlogProduct ReleasesToolsBooksContact

ecmascript-2017

How can I use async/await at the top level?
async-await
September 2, 20231 min read

How can I use async/await at the top level?

# How to Use async/await at the Top Level in JavaScript Welcome to my tech blog, where I break down complex coding problems into digestible pieces! 🚀 Today, we're going to tackle the common issue of using `async/await` at the top level in JavaScript. O

async-awaitecmascript-2017javascript
+1
How to reject in async/await syntax?
asynchronous
September 2, 20231 min read

How to reject in async/await syntax?

# How to Reject in Async/Await Syntax? 😕 So you've just switched your code from using traditional promise syntax to the shiny new `async/await` syntax. You're feeling pretty good about it, but then you run into a problem - how do you properly reject a pr

asynchronousecmascript-2017
Use async await with Array.map
async-await
September 2, 20231 min read

Use async await with Array.map

# Using async/await with Array.map: A Complete Guide 😎✨ Do you find yourself scratching your head and wondering why `async/await` and `Array.map` don't seem to play nicely together? Don't worry, you're not alone! Many developers, especially those new to

async-awaitecmascript-2017javascript
+1
Using async/await with a forEach loop
async-await
July 12, 20211 min read

Using async/await with a forEach loop

🔐 The Dangers of Using async/await in a forEach Loop 🔐 So, you want to use `async/await` in a `forEach` loop to loop through an array of files and await the contents of each file. It seems like a straightforward task, but beware! There are potential pit

async-awaitecmascript-2017javascript
+2

About

Personal blog sharing insights on software engineering, technology, and developer productivity.

TwitterGitHubLinkedInEmail

Tags

Loading tags...

Subscribe to Updates

Get the latest posts delivered right to your inbox.

© 2025 MatheusMello.io. All rights reserved.