URL: { prototype: URL; canParse(url,
base?): boolean; createObjectURL(obj): string; revokeObjectURL(url): void; new (url,
base?): URL; } Type declaration
- new (url, base?): URL
Parameters
url: string | URL
Optional
base: string | URL
Returns URL
prototype: URL
canParse:function
- canParse(url, base?): boolean
Parameters
url: string | URL
Optional
base: string
Returns boolean
createObjectURL:function
- createObjectURL(obj): string
Returns string
revokeObjectURL:function
- revokeObjectURL(url): void
Returns void
MDN Reference