v4.0.2
版本发布时间: 2024-01-07 15:39:37
lgarron/clipboard-polyfill最新发布版本:v4.1.0(2024-04-24 17:42:49)
Release notes:
- Convert array iterator
for
loops to index iteration.- This avoids conflicts with additional methods defined on the
Array
prototype. It is generally not good practice to modify global prototypes with new methods (and if you do, you should make sure they are not enumerable: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty#enumerable), but this should reduce the chance of conflict when you are usingclipboard-polyfill
.
- This avoids conflicts with additional methods defined on the