toString < Function < JavaScript
The toString() method of Function object returns a string representing the source code of the function.
function sum(a, b) {
return a + b;
}
console.log(sum.toString());
// "function sum(a, b) {
// return a + b;
// }"