mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs: Example documentation for js arg usage now uses args. (#12538)
This commit is contained in:
parent
7d0423b12c
commit
61fc10adfa
@ -91,7 +91,7 @@ You can provide arguments to your function:
|
||||
```ts
|
||||
const three = await page.evaluate(
|
||||
(a, b) => {
|
||||
return 1 + 2;
|
||||
return a + b; // 1 + 2
|
||||
},
|
||||
1,
|
||||
2
|
||||
|
Loading…
Reference in New Issue
Block a user