Extended Object Literals to review

Tom Schuster tom at schuster.me
Mon Mar 14 12:30:39 PDT 2011


I guess something along the lines of
   new  ((function () { return this; }).prototype = String);
How would you do Object.create(null) ?

On Mon, Mar 14, 2011 at 8:17 PM, Douglas Crockford
<douglas at crockford.com> wrote:
> On 11:59 AM, P T Withington wrote:
>>
>> ES3 does not have the luxury of Object.create,
>
> Object.create is easily implemented with the ES3 language.
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>


More information about the es-discuss mailing list