title: Accessing line number in V8 JavaScript (Chrome & Node.js)
body: <p>JavaScript developers who have spent time in languages like C often miss the ability to use certain types of introspection, like logging line numbers, and what method the current method was invoked from. Well if you're using V8 (Chrome, Node.js) you can employ the following.</p>