WorkerLocation: toString() メソッド
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015年7月.
toString()
は WorkerLocation
オブジェクトの文字列化メソッドで、このワーカーの位置のシリアライズされた URL
の入った文字列を返します。これは WorkerLocation.href
と同等のものです。