RE: ES4 draft: Map

2008-03-03 Thread Lars Hansen
Draft 2 enclosed (changelog near the top). --lars -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lars Hansen Sent: 29. februar 2008 11:34 To: es4-discuss@mozilla.org Subject: ES4 draft: Map I'm enclosing the draft for the Map class. Please

RE: ES4 draft: Map

2008-03-03 Thread Lars Hansen
-Original Message- From: P T Withington [mailto:[EMAIL PROTECTED] On Behalf Of P T Withington Sent: 3. mars 2008 13:47 To: Lars Hansen Cc: Waldemar Horwat; es4-discuss@mozilla.org Subject: Re: ES4 draft: Map On 2008-03-03, at 02:26 EST, Lars Hansen wrote: function

Re: ES4 draft: Map

2008-03-03 Thread Brendan Eich
We've talked about V~ for (V|undefined). It would have a few uses in the RI, but not enough to close the deal. /be On Mar 3, 2008, at 5:48 AM, Lars Hansen wrote: -Original Message- From: P T Withington [mailto:[EMAIL PROTECTED] On Behalf Of P T Withington Sent: 3. mars 2008 13:47

Re: Adobe position paper on the ECMAScript 4 proposal space -- decimal

2008-03-03 Thread Brendan Eich
On Mar 3, 2008, at 7:25 AM, Mike Cowlishaw wrote: Igor Bukanov [EMAIL PROTECTED] wrote on 03/03/2008 14:39:32: On 27/02/2008, Brendan Eich [EMAIL PROTECTED] wrote: ... I agree with what Lars wrote, except here I think the value of a hypothetical (possibly mythical) big red switch is

Re: ES4 draft: Map

2008-03-03 Thread Brendan Eich
You missed my invisible irony mark :-P. /be On Mar 3, 2008, at 9:31 AM, P T Withington wrote: You and Lars missed my sarcasm marks. I hope there is _not_ a shorthand. On 2008-03-03, at 12:14 EST, Brendan Eich wrote: We've talked about V~ for (V|undefined). It would have a few uses in

Re: ES4 draft: Map

2008-03-03 Thread P T Withington
You and Lars missed my sarcasm marks. I hope there is _not_ a shorthand. On 2008-03-03, at 12:14 EST, Brendan Eich wrote: We've talked about V~ for (V|undefined). It would have a few uses in the RI, but not enough to close the deal. /be On Mar 3, 2008, at 5:48 AM, Lars Hansen wrote:

Re: Default argument values

2008-03-03 Thread Waldemar Horwat
Steven Mascaro wrote: One last issue. I was going to leave it till later, but I realised it may affect ES4. The nicest syntax for named arguments would be to use ':', just like with object literals. e.g.: /// Define function foo(arg1 = 0, arg2 = 1) { ... } /// Call foo(arg2: 10,

Re: ES4 draft: Map

2008-03-03 Thread Erik Arvidsson
Hi Lars, prototype get and put are missing the new optional notfound param 2008/3/3 Lars Hansen [EMAIL PROTECTED]: Draft 2 enclosed (changelog near the top). --lars -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lars Hansen Sent: 29.

Re: ES4 draft: Triply quoted string literals

2008-03-03 Thread liorean
On 04/03/2008, Waldemar Horwat [EMAIL PROTECTED] wrote: I'm not sure what the intent is, but as this is written: abcdef will evaluate to the same string as 'abcdef'. That's not how I read the spec. As I read it, it will evaluate to the same string as 'abc', followed by a nonsensical def

Date Format?

2008-03-03 Thread Garrett Smith
Will ES4 have a simple date formatter? ___ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss

RE: Date Format?

2008-03-03 Thread Lars Hansen
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Garrett Smith Sent: 4. mars 2008 07:45 To: es4-discuss Discuss Subject: Date Format? Will ES4 have a simple date formatter? If you're asking for something that takes a format string and produces a