Affecting ES6 array methods have been added

Published: | Categories: JavaScript | Creative Commons BY-SA 3.0

Description

As part of ECMAScript 6 support, the Array.find, Array.findIndex and Array.of methods have been added. Array.from will also be added soon. This may break some JavaScript libraries which are extending Array.prototype with their own methods. For now, at least one library, Sugar, is known to be affected. Sugar users should update to the latest version to avoid this conflict.

References