In most environments, Error#message is enumerable, e.g.
try {
LOLWAT; // throws a ReferenceError
} catch(e) {
for (var i in e) {
console.log(i);
}
}
This enumerates the properties on the Error object and logs them one
by one to the console.
This behavior rec
On Sep 3, 2011, at 12:19 PM, Dean Landolt wrote:
> On Sat, Sep 3, 2011 at 7:15 AM, Jorge wrote:
> On 02/09/2011, at 18:08, Mikeal Rogers wrote:
>
> > fibers turns node.js in to something the core team doesn't really view as
> > being "node.js" any longer.
> >
> > we believe that it's more impor
On Sep 4, 2011, at 11:06 AM, John J Barton wrote:
> As a reader I have to parse the function carefully to look for the 'yield'.
> If I find one, then I know that this is not actually a function after all.
> Then I need to mentally draw a line after the yield and label it "entry-point
> #2".
Th
On Sep 6, 2011, at 1:52 PM, Dmitry Soshnikov wrote:
> (1) to standardize `toString` (for this particular case -- do not remove
> comments inside);
>
> If the (1) is not possible (why by the way?),
Because comments are not saved in the compilation process and doing so would
slow parsing down an
On Fri, Sep 2, 2011 at 4:39 PM, Brendan Eich wrote:
> On Sep 2, 2011, at 4:15 PM, John J Barton wrote:
>
> Ok I hope someone creates more tutorial information about generators. I
>> read about them and played around with some examples, but I did not come
>> away thinking positive.
>>
>
> You migh
Le 04/09/2011 14:31, Xavier MONTILLET a écrit :
> Hi,
>
> I saw in the spec that null is a litteral but typeof null must return
> 'object'.
There are two things that are different. One is the Null type as defined
in ES5.1 section 8.2 and the return value of "typeof null" ('object').
This is a not
Hi,
I saw in the spec that null is a litteral but typeof null must return 'object'.
So I was wondering:
Is Object.isExtensible(null) supposed to trow an error or to return false?
Cheers
___
es-discuss mailing list
es-discuss@mozilla.org
https://mail.moz
7 matches
Mail list logo