__line_number__ and __filename__

Peter Jaszkowiak p.jaszkow at gmail.com
Thu Aug 23 23:12:30 UTC 2018


https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import.meta

On Thu, Aug 23, 2018, 16:57 Aaron Gray <aaronngray.lists at gmail.com> wrote:

> I wondering what people think about the idea of proposing being able to
> get the line number and filename of executing code in the code ? Maybe with
> something simular to C preprocessors __line_number__ and __filename__. Or
> as subobjects of global ?
>
> --
> Aaron Gray
>
> Independent Open Source Software Engineer, Computer Language Researcher,
> Information Theorist, and amateur computer scientist.
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180823/0034d9cb/attachment.html>


More information about the es-discuss mailing list