ES4 draft: Error classes

Brendan Eich brendan at mozilla.org
Sun Mar 9 10:42:24 PDT 2008


On Mar 9, 2008, at 3:31 AM, Michael Daumling wrote:

> line
>
> The initial value of the line prototype property is the line number of
> the executing code that created the Error instance. This is an integer
> value, starting with the number 1.

FYI, this property is named lineNumber in SpiderMonkey -- consonant  
with fileName, if a bit verbose to match.

/be




More information about the Es4-discuss mailing list