# evalScript

The `evalScript` command allows in-line execution of simple JavaScript code.

Please note the underlying implementation is Rhino, which has limited support for ES6+ syntax.

## Examples

```
- evalScript: ${console.log("This is JS")}
```

## Related Commands

[asserttrue](https://docs.moropo.com/creating-tests/commands/asserttrue "mention")
