+1 for -> syntax.
El 03/03/2012, a las 21:26, Herby Vojčík escribió: > > > Jonas Höglund wrote: >> Since it seems there are many supporters for "arrow-like" symbols pointing >> in either direction, and both of these groups seem to think the symbol >> points in the "wrong" direction if it isn't the direction they imagine it >> pointing to, perhaps it's better to look for more alternatives of >> direction-neutral operators instead. Here are some suggestions: >> >> let obj = proto \\ { >> prop: "test", >> foo: 10 >> } >> let obj = proto #: { >> prop: "test", >> foo: 10 >> } > > As for the nondirectional ones, does this collide with something? > > let obj = proto ^^ { > prop: "test", > foo: 10 > } > > Herby > _______________________________________________ > es-discuss mailing list > es-discuss@mozilla.org > https://mail.mozilla.org/listinfo/es-discuss _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss