Showing calling file+line in console.log of a function
When using console.log("test")
, the console will not only show “test” but also the file and line where that code was called from.
When using console.log("test")
, the console will not only show “test” but also the file and line where that code was called from.