mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fix(JSHandle.toString): clearer description for primitives (#993)
This patch: - updates JSHandle.toString to make a nicer description for primitives - excludes JSHandle.toString from documentation to avoid its abuse References #382
This commit is contained in:
@@ -37,6 +37,7 @@ const EXCLUDE_CLASSES = new Set([
|
||||
const EXCLUDE_METHODS = new Set([
|
||||
'Headers.fromPayload',
|
||||
'Page.create',
|
||||
'JSHandle.toString',
|
||||
]);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user