strawman for the := operator

Brendan Eich brendan at mozilla.org
Wed Aug 8 18:14:57 PDT 2012


No problem. For anyone used to Pascal or Ada, or familiar with Go, := 
could indeed be a speedbump.

We could fall back on .= but that loses the :, which Allen points out 
reminds users of object literals, which (in reality as a fix to ES3, and 
officially in ES5) uses [[DefineOwnProperty]] not [[Put]].

/be

Douglas Crockford wrote:
> On 8/8/2012 5:01 PM, Brendan Eich wrote:
>
>> := is only the latest in a line of proposals for solutions.
>
> Please excuse my confusion. For some reason I expected := to be like 
> an assignment operator.
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>


More information about the es-discuss mailing list