docs(evaluate): clarify semantics of expression string (#17472)

This commit is contained in:
Yury Semikhatsky 2022-09-20 11:31:56 -07:00 committed by GitHub
parent 29ff00ead2
commit e62e84015c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -408,9 +408,8 @@ Defaults to `20`. Pass `0` to not follow redirects.
## evaluate-expression ## evaluate-expression
- `expression` <[string]> - `expression` <[string]>
JavaScript expression to be evaluated in the browser context. If it looks like JavaScript expression to be evaluated in the browser context. If the expresion evaluates
a function declaration, it is interpreted as a function. Otherwise, evaluated to a function, the function is automatically invoked.
as an expression.
## js-evaluate-pagefunction ## js-evaluate-pagefunction
* langs: js * langs: js