worker property

Returns a WebWorkerDiagnosticsWorker object that's used to access the WorkerGlobalScope.

Note  These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.

 

This property is read-only.

 

Syntax

JavaScript
ptr = object.worker

 

Property values

Type: WebWorkerDiagnosticsWorker

See also

WebWorkerDiagnosticsGlobalScope