On 4/29/11, Dmitry A. Soshnikov <[email protected]> wrote:
> On 30.04.2011 0:22, Axel Rauschmayer wrote:

>> With JavaScript, is throwing a string considered bad style (now or in the
>> future)? That is, is throwing a new Error(msg) better than throwing msg
>> directly?
>>
>
> Why?
To get a meaningful `error.stack` ?
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to