Making a fetch request without any error handling - a very common oversight.
// Buggy Code
fetch('https://api.example.com/data')
.then(response => response.json())
.then(data => console.log(data));
// Unhandled Promise Rejection when network fails