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

eval&Function #12

Open
837951602 opened this issue Mar 11, 2017 · 2 comments
Open

eval&Function #12

837951602 opened this issue Mar 11, 2017 · 2 comments

Comments

@837951602
Copy link
Contributor

alert(1) is [].filter.constructor('return alert')()(1)
/./ is [].filter.constructor('return eval')()('/./')
Why not [].filter.constructor('return/./')()?
({}) is [].filter.constructor('return eval')()('({})'),
not [].filter.constructor('return{}')()

@837951602
Copy link
Contributor Author

2*!a 23446c
[].filter.constructor('return 2*arguments[0]')(!a) 18108c

@837951602
Copy link
Contributor Author

f(a,b) 5012
!f(a,b) 15611

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

No branches or pull requests

2 participants