yps
a reversible, transparent spy for functions/methods
Infiltration
functions
var { console; };logHello = yps;
methods
var scope = { console; };yps;
Reports
Once a spy has infiltrated, it will record the arguments for each call.
;;logHellocalls; // [[42, 'purple'], []]
You can purge the calls (in case your spy gets burned).
logHello;logHellocalls; // []
Exfiltration
Remove your spy and any trace that it ever existed.
functions
logHello = yps;
methods
yps;