On Sep 3, 2007, at 7:10 PM, Brendan Eich wrote:
> On Sep 3, 2007, at 3:00 AM, Lars T Hansen wrote:
>
>> On 8/26/07, Garrett Smith <[EMAIL PROTECTED]> wrote:
>>> Back to "caller"...
>>> "caller" is on the prototype in Mozilla.
>
> Not lately:
>
> js> function f(){ return f.hasOwnProperty('caller')}
On Sep 3, 2007, at 3:00 AM, Lars T Hansen wrote:
> On 8/26/07, Garrett Smith <[EMAIL PROTECTED]> wrote:
>> Back to "caller"...
>> "caller" is on the prototype in Mozilla.
Not lately:
js> function f(){ return f.hasOwnProperty('caller')}
js> f()
This is a SpiderMonkey REPL based on code going int
On 6/5/07, liorean <[EMAIL PROTECTED]> wrote:
> Hello!
>
> After discussion in a thread on ECMAScript binding of the DOM I came
> to wonder a bit of what type of type contraints ES4 actually will be
> able to have:
>
> 2. Also, conversions between the types. Is is possible to have a type
> constrai
On 2007-09-03, at 07:41 EDT, Lars T Hansen wrote:
> Now I see what you mean. You would like "this class" to be
> dynamically scoped like "this". Yet when we were talking earlier
> about "this function" and "this generator", they are both statically
> scoped entities -- unlike "this". And that's
On 6/18/07, Jason Orendorff <[EMAIL PROTECTED]> wrote:
> On 6/18/07, Peter Michaux <[EMAIL PROTECTED]> wrote:
> > I don't think that fixing this edge case to make a very robust forEach
> > would be a bad idea. I think having a very robust forEach (similar to
> > the DOM2 iteration over handlers) wo
On 8/21/07, P T Withington <[EMAIL PROTECTED]> wrote:
> The es3 code is:
>
> function A () ...;
> A.zot = function zot () { ... this ... }
>
> function B () ...;
> B.prototype = new A();
> B.zot = A.zot;
>
> hence `this` is A in A.zot and B in B.zot.
Right...
> I was thinking the equivalent es4 w
I believe it is restricted to ArrayPattern. --lars
On 8/23/07, Eric Suen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Pattern ::= ArrayPattern
> Pattern -> SimplePattern -> LeftHandSideExpression -> ArrayLiteral
>
> Is it possible ArrayLiteral appear in Pattern, or it must be an
> ArrayPattern? Like Expr
On 8/26/07, Garrett Smith <[EMAIL PROTECTED]> wrote:
> Back to "caller"...
> "caller" is on the prototype in Mozilla. Not sure where it is in IE,
> prototype or instance.
>
> On the instance in WebKit.
>
> Absent in Opera.
Absent in ES3. Absent in ES4.
function f() {
// I wonder how my caller
On 8/26/07, Garrett Smith <[EMAIL PROTECTED]> wrote:
> The
> perfectly valid use case of trying to have a private constructor, will
> not, unfortunately be accommodated by ES4;
Now filed as bug 166 in the Trac.
--lars
___
Es4-discuss mailing list
Es4-d
On 9/2/07, Garrett Smith <[EMAIL PROTECTED]> wrote:
> I was wondering about the new JSON methods:
>
> Object.prototype.toJSONString
> String.prototype.parseJSON
>
> to me, parseJSON seems like it should not be a String prototype method.
>
> I'm thinking about other "parse" type of methods, like Dat
On 9/2/07, liorean <[EMAIL PROTECTED]> wrote:
>
> var
> re=/(a\1)+|b/,
> a=[],
> key,
> aab=re.exec('aab')
> aaab=re.exec('aaab');
> for(key in aab)
> a.push('aab["'+key+'"]: '+aab[key]);
> for(key in aaab)
> a.push('aaab["'+key+
11 matches
Mail list logo