He/She cannot do that, at least at their employer, because people would throw up at the sight of the code and cry until its rewritten.
As an example slip some DOM methods into your code and watch people go into convulsions like an angry zombie on cocaine.