DenoDDeno
Powered by
ChilliSniffC
Denoβ€’3y agoβ€’
2 replies
ChilliSniff

cannot set property on fetch response

in the browser this works
let o = await fetch('https://deno.com');
o.asdf = 2
console.log(o.asdf)//2
let o = await fetch('https://deno.com');
o.asdf = 2
console.log(o.asdf)//2

but not in deno js
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

How to build a Response object with the 'url' property set
jcayzacJjcayzac / help
3y ago
`<details>` element cannot have the basic "name" property?
PonchoPPoncho / help
10mo ago
Parsing a fetch response resulting number turning into NaN
wedmaniacWwedmaniac / help
16mo ago