On Oct 21, 2011, at 19:08, Axel Rauschmayer wrote:
>> Also, in general this sort of well known private method name hook is much
>> more extensible than "internal method" as currently used in the es spec.
>> They also avoid the need to polute the Proxy API
>
> Reified names (private or otherwise
> contributions to test262
test262 is great, thanks!
> see http://wiki.ecmascript.org/doku.php?id=harmony:regexp_match_web_reality
Oh, Thanks. This is very good document.
I saw http://wiki.ecmascript.org/doku.php?id=harmony:regexp_match_web_reality
and http://wiki.ecmascript.org/doku.php?id=stra
Are there tests for this?
David
Le 18/10/2011 21:37, Allen Wirfs-Brock a écrit :
> On Oct 18, 2011, at 12:31 PM, felix wrote:
>
>> If I define a setter for Array.prototype[0], does [].push invoke that setter?
> It's supposed to.
>
>> Test code:
>>
>>
>>
>> Object.defineProperty(
>>Array.pr
On Sat, Oct 22, 2011 at 5:30 PM, Yusuke Suzuki wrote:
> BTW, I thought that the example in
> http://wiki.ecmascript.org/doku.php?id=strawman:match_web_reality_spec
> exec(/(?=a)+/, "");
> should return false. Is it right?
In ES5, it should be a syntax error. The positive look-ahead is an
Assert
It might make sense to provide this as standard functionality:
- Testing if one type is a subtype of another type.
- Returning all supertypes of a given type.
This is especially useful if a type can significantly change the behavior of
its subtypes and if there should ever be several ways of hand
Sorry for bringing this up again, but I’m still having trouble with naming
things properly in JavaScript.
- What do you call something that produces instances in JavaScript? A class? A
type? A constructor? Or is a constructor the implementation of a type?
- Are Date and RegExp built-in types? W
6 matches
Mail list logo