© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
mrcbns
Why can you await fetch whithout async first, which requires the use of immediately Invoked Function Expression? for example:
(async () => { const response = await fetch('url&) })()
Victoria Lo
A nerd in books, tea, games and software.
Good question. CORS is server-side whereas fetching is from the client-side. CORS determines whether or not you are allowed to fetch from "url".