On Tue, Mar 18, 2008 at 12:05 PM, Lars Hansen <[EMAIL PROTECTED]> wrote:
> > -----Original Message-----
>  > From: Garrett Smith [mailto:[EMAIL PROTECTED]
>  > Sent: 18. mars 2008 11:57
>  > To: Lars Hansen
>  > Cc: es4-discuss Discuss
>  > Subject: Re: ES4 draft: Error classes
>  >
>
>
> > On Mon, Mar 17, 2008 at 12:11 PM, Lars Hansen
>  > <[EMAIL PROTECTED]> wrote:
>  > > (Didn't know who to follow up to so lamely following up to myself.)

>  > What does this have to do with getting a stack trace?
>
I see.

var color = el.style.color

where el is null, a ReferenceError would be thrown. It would be useful
to have a backwards-compatible way to get that stack trace. How can -
assert - be detected?

What about libraries that already have an assert() function?

"assert"in window?

Garrett

>  --lars
>
_______________________________________________
Es4-discuss mailing list
Es4-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to