Found this weird JavaScipt code in a SVG file
Found this weird Javascipt code in a SVG file while doing code-review of an external IT company's code. What does that do?

Beginner question? Try the FAQ first! or the WebDev Resources Post then post in the Beginner Questions thread
Help fill out the wiki


Posting Guidelines


No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide 


Context of the problem
Research you have completed prior to requesting assistance
Problem you are attempting to solve with high specificity

General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines. 

Questions in violation of this rule will be removed or locked.


Related Subreddits


/r/web_design
/r/WebDevBuddies
/r/devops
/r/javascript
/r/learnjavascript (any JavaScript questions)
/r/webhosting (web hosting questions)
/r/WebdevTutorials
/r/forhire (job offers or requests)
/r/freelance (discussion related to freelancing)
/r/programmerhumor - (post your memes here instead)
/r/cryptodevs


Discords


/r/webdev (official)

