puppeteer/website/versioned_docs/version-21.3.3/api/puppeteer.jshandle.dispose.md

20 lines
266 B
Markdown
Raw Normal View History

---
sidebar_label: JSHandle.dispose
---
# JSHandle.dispose() method
Releases the object referenced by the handle for garbage collection.
2022-10-24 14:31:12 +00:00
#### Signature:
```typescript
class JSHandle {
abstract dispose(): Promise<void>;
}
```
**Returns:**
Promise&lt;void&gt;