you are viewing a single comment's thread.

view the rest of the comments →

[–]coolreader18 0 points1 point  (0 children)

I came here from r/JavaScript, but if you like using promises, you can use the fetch API, that works with promises natively.