This is a big de-optimizer without a sigil or mode to identify references. I
don't think it will fly. It lacks compelling use-cases. The last one was VB-ish
foo.items(i) = bar
callable lvalues, allowed to return References if the callable is a host
object, but deprecated or in the process of b
Any thoughts on whether it might make sense to reify References [8.7 in the
ECMAScript 5 specification] in the language proper?
E.g. via a function ref() (as a strawman – not really syntactically viable).
Applications:
- Pass a variable by reference:
function incReference(r) {
if (!
nothing wrong, that's basically what I do indeed as
Object.prototype.forEach but it would be faster done natively
On Thu, Dec 1, 2011 at 7:00 PM, Brendan Eich wrote:
> On Dec 1, 2011, at 8:00 AM, Andrea Giammarchi wrote:
>
> ... iterators not backward compatible ... a failing solution for me for
3 matches
Mail list logo