ECMAScript 6 mostly eliminates the need to call methods generically (no need to 
use the array-like `arguments`, `Array.from()`, spread operator, etc.).

The only exception that comes to my mind is `{}.hasOwnProperty.call(obj, key)` 
(which is the only safe way to invoke this method). Would it make sense to 
provide that as a tool function, e.g. as `Reflect.hasOwn()`?

-- 
Dr. Axel Rauschmayer
[email protected]
rauschma.de



_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to