Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including array-reverse-polyfill with all npm packages installed. Try it out:

var arrayReversePolyfill = require("array-reverse-polyfill")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

array-reverse-polyfill v1.0.9

Fix IOS 12 Array Reverse Bug.

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

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

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

Clicking the refresh button to reload page.


Hope you guys luck

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free