On 11 Nov 2010, at 19:30, Dmitry A. Soshnikov wrote:
OTOH, negative indices, are even not array indices. I.e.
var a = [1,2];
a[-1] = 0;
print(a); // 1,2
print(a.length); // 2
From this viewpoint -- for what are they? Seems again, `-n` notations for
arrays and strings is useful as a
On 7 Sep 2010, at 17:18, P T Withington wrote:
On 2010-09-07, at 12:02, Brendan Eich wrote:
3. identical
If I had a vote, +1
Is there someplace that concisely explains the cost of just fixing `===` so I
could understand why that is not a choice?
FWIW this sort of naming issue is a
On 14 Aug 2010, at 07:22, Erik Arvidsson wrote:
I have a few questions regarding the WeakMap API.
1. Why isn't there a way to check for presence of a key (using has/contains)?
Given that undefined is a valid value it is not sufficient to just
return undefined for get
Does the standard
:
On Sat, Aug 14, 2010 at 1:01 PM, Ash Berlin ash...@firemirror.com wrote:
On 14 Aug 2010, at 07:22, Erik Arvidsson wrote:
I have a few questions regarding the WeakMap API.
1. Why isn't there a way to check for presence of a key (using
has/contains)?
Given that undefined
On 2 Jul 2010, at 23:17, David Flanagan wrote:
Mark S. Miller wrote:
However, many objected to ephemeron as obscure
jargon. We have not yet settled the name we are giving this abstraction.
It is the language of GC implementors, and won't make sense to JS programmers.
I'll be happy
On 30 Jun 2010, at 07:11, Tim Smart wrote:
With recent ECMAScript taking off outside the browser (not to point at any
one implementation, but http://nodejs.org/ is an example), the handling of
large arbitrary amounts of text and binary data, is becoming more and more
common.
Would it
On 29 Dec 2009, at 16:36, Mike Samuel wrote:
2009/12/28 Waldemar Horwat walde...@google.com:
Mike Samuel wrote:
That's the case right now, except that to escape a backtick one does
$\` instead of \`.
Having `\`` not do what I'd expect escaping to do truly surprised me. I
thought that
On 31 Dec 2009, at 06:12, Mike Samuel wrote:
I received some convincing arguments that the original quasi proposal
fell short as a DSL scheme. Whether a full-fledged DSL scheme is
desired or not, I don't know, but I read up on scheme macros and put
together an alternative semantics that I
15.10.6.3 RegExp.prototype.test says:
Let match be the result of evaluating the RegExp.prototype.exec (15.10.6.3)
That should be .2
Only sensible hit for errata page I could see on google as
http://bugs.ecmascript.org/report/14 and its not been reported there already.
-ash
On 16 Dec 2009, at 20:21, Mike Samuel wrote:
jsont`{$name:html}: a
href={$url|html-attr-value}{$anchor|html}/a{default=html}`
function jsont(var_args) {
var literalPortions = Array.prototype.slice.call(arguments, 0);
So if i remember correctly:
foo`a${b}c` - foo(a, c')(b);
How then
On 14 Dec 2009, at 22:44, Mike Samuel wrote:
http://wiki.ecmascript.org/doku.php?id=strawman:quasis
is a strawman for a concrete syntax that enables string interpolation
as described in
http://wiki.ecmascript.org/doku.php?id=strawman:string_interpolation .
So far it's just an uploaded
On 7 Nov 2009, at 16:28, ihab.a...@gmail.com wrote:
Hi folks,
Here is a link to the presentation on modules I gave during the TC39
meeting in Santa Clara, CA yesterday.
http://sites.google.com/site/ihabawad/Home/es5Modules-2009-11-06.pdf
Cheers and regards,
Ihab
Slide 10 says Sync, arg
On 12 Aug 2009, at 19:00, Allen Wirfs-Brock wrote:
I'm quite certain that non-enumerable is what is most commonly
desired for such method properties. Readonly-ness is certainly more
debatable. I'm pretty sure that most programmer, most of the time,
when they define a method are not doing
On 23 Jun 2009, at 17:59, Brendan Eich wrote:
On Jun 23, 2009, at 9:28 AM, Ash Berlin wrote:
I'd rather it was possible to do operator overloading such that
decial or
what ever else could be implemented natively (in a self hosting JS)
but I
can also accept that this (operator overloading
On 13 Jun 2009, at 16:10, kevin curtis wrote:
Python has a concept 'extension modules' where module can be
implemented in c/c++. Also the idea of running native code in the
browser has been put forward by Google's native client for running x86
in the client. MS - i think - are researching
On 22 May 2009, at 16:21, David Semeria wrote:
Hi, first post, so please excuse any clumsiness.
As a developer of large scale in-browser web apps, I frequently face
memory management issues. These issues apply to both managing DOM
elements (which I appreciate is beyond the scope of ECMA) but
I don't think ||= and ??= are very difficult to define clearly.
Perhaps just a line each in terms of the expanded syntax. I don't
think they would add much bloat to engines. Perhaps just better to add
them both and move on to discussing classes, lambdas, or processes.
a ||= b;
a = a || b;
Comments inline.
On 21 Mar 2009, at 22:16, Luke Kenneth Casson Leighton wrote:
1) lack of integers.
i noted this - http://wiki.ecmascript.org/doku.php?
id=proposals:numbers
- and went thank _god_ for that. hooray. python Long can be
emulated by an object, but the lack of integers makes
18 matches
Mail list logo