UNPKG

array-reverse-polyfill

Version:
36 lines (21 loc) 1.18 kB
![](https://user-images.githubusercontent.com/159840/45736779-8a4ad180-bc1e-11e8-9022-b58935f026eb.png) # array-reverse-polyfill Fixed Array Reverse Bug On iOS 12. (See the bug: https://stackoverflow.com/questions/52390368/array-state-will-be-cached-in-ios-12-safari-is-bug-or-feature/52392901#52392901) ## Use Use release version [https://github.com/fanmingfei/array-reverse-ios12/releases](https://github.com/fanmingfei/array-reverse-ios12/releases) CDN ```html <script src="//g.alicdn.com/mtb/fix-ios12-array/1.0.9/index.js"></script> ``` [NPM](https://www.npmjs.com/package/array-reverse-polyfill) ```javascript import 'array-reverse-polyfill' ``` ## Test For Not fixed: [https://fanmingfei.github.io/array-reverse-ios12/origin.html](https://fanmingfei.github.io/array-reverse-ios12/origin.html) For Fixed: [https://fanmingfei.github.io/array-reverse-ios12/fixed.html](https://fanmingfei.github.io/array-reverse-ios12/fixed.html) For Unit Test: [https://fanmingfei.github.io/array-reverse-ios12/tests/](https://fanmingfei.github.io/array-reverse-ios12/tests/) Clicking the refresh button to reload page. -------------------------------- # Hope you guys luck