Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parser not ES10 or ES2018 #522

Open
weaweawe01 opened this issue May 22, 2024 · 1 comment
Open

parser not ES10 or ES2018 #522

weaweawe01 opened this issue May 22, 2024 · 1 comment

Comments

@weaweawe01
Copy link

ES10 BigInt

alert(1n)

ES2018

<script>(asyncfunction*(){})['constructor']('alert(document.domain)')().next();</script>

image
image

@Asday
Copy link

Asday commented May 22, 2024

https://github.com/robertkrimen/otto?tab=readme-ov-file#caveat-emptor

  • Otto targets ES5. ES6 features (eg: Typed Arrays) are not supported.

Pull requests are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants