puppeteer/website/versioned_docs/version-19.2.0/api/puppeteer.jshandle.dispose.md
2022-10-26 09:51:16 +02:00

20 lines
257 B
Markdown

---
sidebar_label: JSHandle.dispose
---
# JSHandle.dispose() method
Releases the object referenced by the handle for garbage collection.
#### Signature:
```typescript
class JSHandle {
dispose(): Promise<void>;
}
```
**Returns:**
Promise&lt;void&gt;