if i have a reference to a closure, is there a way (outside of a doing a file read for the lines in the code) to get back a the code block of the function?
Copy code
var test = function(a){ return a + 2 };
and i want to get back
Copy code
'function(a){ return a + 2 };'
b
bdw429s
10/28/2022, 6:27 PM
No
s
Scott Steinbeck
10/28/2022, 6:29 PM
fair enough, i can still call getMetadata and get the lines of the code, just thought there may be a built in way