From 2f4d1714b8ceb660406a3f6a0354ad6dfa873db8 Mon Sep 17 00:00:00 2001 From: "Timothy C. Quinn" Date: Tue, 5 Sep 2023 16:53:16 -0400 Subject: [PATCH] docs: fixing JS Comments for Evaluate (#26880) --- docs/src/evaluating.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/evaluating.md b/docs/src/evaluating.md index 3c31ff09b2..7a815534f5 100644 --- a/docs/src/evaluating.md +++ b/docs/src/evaluating.md @@ -349,7 +349,7 @@ Object result = page.evaluate("() => {\n" + ```python async data = { 'text': 'some data', 'value': 1 } result = await page.evaluate("""() => { - # There is no |data| in the web page. + // There is no |data| in the web page. window.myApp.use(data) }""") ``` @@ -357,7 +357,7 @@ result = await page.evaluate("""() => { ```python sync data = { 'text': 'some data', 'value': 1 } result = page.evaluate("""() => { - # There is no |data| in the web page. + // There is no |data| in the web page. window.myApp.use(data) }""") ```