JavaScript is required to use Bungie.net

Service Alert
Destiny 2 will be temporarily offline tomorrow for scheduled maintenance. Please stay tuned to @BungieHelp for updates.

OffTopic

Surf a Flood of random discussion.
Edited by dazarobbo: 1/29/2013 6:44:42 AM
6

Retrieve function body as string

[quote]Object.defineProperty(Function.prototype, "Source", { get: function(){ return /{([\s\S]+)}/.exec(this.toString())[1]; } });[/quote]Magic. I seem to have posted this in the wrong place...

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

You are not allowed to view this content.
;
preload icon
preload icon
preload icon