Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.7k
Preserve function name#1145
-
I have a function named eventCapture(). I would like to keep the name of the function unchanged so that I can reference it in another segment of code. Is there a way to do that, or is there a way to know that the new symbol is for the function's name? |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 2 comments 2 replies
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
You could use whitelist to save your function(s) name. If I right understand what do you want. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Suppose I have a file with function eventCapture(){ Then I have another file that will be calling eventCatpure. This second file cannot be obfuscated. div.onclick = eventCapture How can I obfuscate the body of the eventCapture function, so that I can reference it as above? |
BetaWas this translation helpful?Give feedback.
All reactions
-
add |
BetaWas this translation helpful?Give feedback.
All reactions
👍 2
-
That worked. Thank you so much. |
BetaWas this translation helpful?Give feedback.
All reactions
❤️ 1