I would like to know the line of code that the statement is on when I use console.log(). For example:
// line 12
console.log('hello'); // would output 13: hello
Is this possible to do programatically?
function newLog(art){
// find line here but how
return console.log(line, arg)
}