2022-08-06 14:49:20 +00:00
|
|
|
---
|
|
|
|
sidebar_label: JSHandle.dispose
|
|
|
|
---
|
|
|
|
|
|
|
|
# JSHandle.dispose() method
|
|
|
|
|
2022-08-16 11:58:16 +00:00
|
|
|
Releases the object referenced by the handle for garbage collection.
|
2022-08-06 14:49:20 +00:00
|
|
|
|
|
|
|
**Signature:**
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
class JSHandle {
|
|
|
|
dispose(): Promise<void>;
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
**Returns:**
|
|
|
|
|
|
|
|
Promise<void>
|