Question 1 of 6
Which union defines the types
sendBeacon's
data argument accepts?
The Beacon spec delegates the body type entirely to Fetch.
data is BodyInit | null. The Beacon spec reuses Fetch's extract algorithm verbatim — which is exactly why Content-Type and CORS mode follow Fetch's rules, not Beacon-specific ones.
Review this lesson