I would like to put a console.log
that would inform the line where it is on. For example: console.log ('Line:', [code to get the line])
The result in the console -> Line: [line number]
so I would know where this console.log
would have been written on the code.
There is a simple code that returns this number line in js?
Thx