aidenZou / array-reverse-ios12

Fixed Array Reverse Bug On iOS 12 & Safari 12.0 on MacOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Fixed Array Reverse Bug On iOS 12 & Safari 12.0 on MacOS.

License:MIT License


Languages

Language:JavaScript 54.7%Language:HTML 45.3%