Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Danacus2376y@gitlog Oh, no... Is there even a different between "Segmentation fault" and "Some random error but no one knows what's wrong"?
-
Ganzalf1906y@norman70688 @Danacus executing without awaiting anything feels wrong 😅 Don't judge me but most times I prefer the callback hell.
-
Danacus2376y@Ganzalf sometimes callbacks just make more sense and I have used them a lot in the past: https://reddit.com/r/.... That's what I call a real callback hell :P
-
I thought JavaScript promises executed as soon as they're instantiated, but I was having some weird experiences using web assembly. Can you console.log in a promise and have it show up?
-
@Danacus there wasn't any exceptions or errors popping up in console until I started awaiting. Maybe I need to fool around with it more.
I present to you: The Anonymous Asynchronous Self-Invoking Arrow Function.
(async () => {})();
rant
why is javascript so weird
javascript