What sold me was the way top-level await is handled. Deno has this. Stil missing in Node.js and the browser and it saddens me a lot.
endpoint = "https://jsonplaceholder.typicode.com/users" options = method: "GET" mode: "cors" credentials: "include" headers: "Content-Type": "application/json" "Accept": "application/json" do -> try response = await fetch endpoint, options users = await response.json() console.log users catch error console.error error.message
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
What sold me was the way top-level await is handled. Deno has this. Stil missing in Node.js and the browser and it saddens me a lot.