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

Immediately invoked function #25

Closed
tomsej opened this issue May 20, 2021 · 2 comments
Closed

Immediately invoked function #25

tomsej opened this issue May 20, 2021 · 2 comments

Comments

@tomsej
Copy link

tomsej commented May 20, 2021

Hi, thank you for this awesome tool. Really love that and it helped me a lot. But I am struggling with one example -> immediately invoked functions. I have function like this:

(function(param_1, param_2) {
    // Code that runs in your function
})({"config": {...}, "data": {..}}, {"actions": {...}, "misc": {...}})

I need to extract parameters of this function {"config": {...}, "data": {..}}, {"actions": {...}, "misc": {...}}, can you please help me how to achive that?

Thanks a lot!!!!

@shuerguo999
Copy link
Contributor

shuerguo999 commented May 21, 2021

Hey, @tomsej , thank you!!
You can look up this example: https://is.gd/RIJDYs
The match[2] stored the value that $_$2 matches

@tomsej
Copy link
Author

tomsej commented May 24, 2021

Thanks a lot!!

@tomsej tomsej closed this as completed May 24, 2021
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