ES6 and Error Object properties

Brendan Eich brendan at mozilla.com
Wed Nov 4 12:28:09 PST 2009


On Nov 4, 2009, at 12:26 PM, Brendan Eich wrote:

> On Nov 4, 2009, at 12:11 PM, Patrick Mueller wrote:
>
>> Coincidently (!!!), I recently opened a feature request in WebKit  
>> on this topic, kind of:
>>
>> 	https://bugs.webkit.org/show_bug.cgi?id=30933
>>
>> Not sure I'll have time to do anything about it, and surely won't  
>> without some kind of real framework helping out to add support on  
>> their end ...
>
> SpiderMonkey, when you set the JSOPTION_ATLINE runtime option flag,  
> understands a comment of this form:
>
> //@line: n
>
> as setting the next line's line number to n. You can coerce the  
> filename too:
>
> //@line: n, "f"

My memory failed me -- strike the : and , punctuation from the  
examples above:

//@line n

//@line n "f"

I like to punctuate, clearly!

/be



More information about the es-discuss mailing list