> Instead, people were talking about a
> bunch of positional boolean flag parameters, which is a call-site
> readability disaster:
> 
>     Object.defineProperty(obj, name, value, true, false, true)

Just pointing out that this would be self-documenting (with the same
performance) with named parameters:

Object.defineProperty(obj, name, value, writable: true, iterable:
false, deletable: true)

Which may be an option in future versions.
_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to