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

How to run the code to get the result ? #132

Open
pxim opened this issue Nov 10, 2022 · 1 comment
Open

How to run the code to get the result ? #132

pxim opened this issue Nov 10, 2022 · 1 comment

Comments

@pxim
Copy link

pxim commented Nov 10, 2022

NQ@~FV1M8R3_@2)~13Q$VVY

@jaywcjlove
Copy link
Member

@pxim

Example 1

var code = 'console.log(123)';
var func = new Function(code)
func()

Example 2

var code = 'console.log(123)';
eval(code)

Example 3

var code = 'console.log(123)';
setTimeout(code)

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