56

GitHub - fanmingfei/array-reverse-ios12: Fixed Array Reverse Bug On iOS 12 &...

 5 years ago
source link: https://github.com/fanmingfei/array-reverse-ios12
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

array-reverse-polyfill

Fixed Array Reverse Bug On iOS 12 and MacOS' Safari 12.0.

About Posts

https://bugs.webkit.org/show_bug.cgi?id=188794

https://stackoverflow.com/q/52390368/7606327

https://zhuanlan.zhihu.com/p/44869607

https://www.v2ex.com/t/490590

Use

Use release version https://github.com/fanmingfei/array-reverse-ios12/releases

CDN

<script src="//g.alicdn.com/mtb/fix-ios12-array/1.0.9/index.js"></script>

NPM

import 'array-reverse-polyfill'

Test

For Not fixed: https://fanmingfei.github.io/array-reverse-ios12/origin.html

For Fixed: https://fanmingfei.github.io/array-reverse-ios12/fixed.html

Clicking the button to test.

For Unit Test: https://fanmingfei.github.io/array-reverse-ios12/tests/


Hope you guys luck


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK