puppeteer/new-docs/puppeteer.protocol.runtime.evaluaterequest.replmode.md
2020-07-13 14:01:35 +01:00

14 lines
678 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Runtime](./puppeteer.protocol.runtime.md) &gt; [EvaluateRequest](./puppeteer.protocol.runtime.evaluaterequest.md) &gt; [replMode](./puppeteer.protocol.runtime.evaluaterequest.replmode.md)
## Protocol.Runtime.EvaluateRequest.replMode property
Setting this flag to true enables `let` re-declaration and top-level `await`<!-- -->. Note that `let` variables can only be re-declared if they originate from `replMode` themselves.
<b>Signature:</b>
```typescript
replMode?: boolean;
```