WorkerLocation.toString()
The toString()
method of a WorkerLocation
object returns a string containing the serialized URL
for the worker's location. It is a synonym for WorkerLocation.href
.
Syntax
toString()
Parameters
None.
Return value
None undefined
.