destination

Returns the kind of resource requested by request, e.g., "document" or "script".

MDN Reference