Use iOS12 test.
        
Use iOS12 test. <br/>
<button onclick="test()" style="border: 1px solid #ccc;">Click Refresh</button>
<script>
    function test() {
        var arr = [1, 2, 3, 4]
        document.body.innerHTML += '<br/>'+arr.join(',')
        arr.reverse()
    }
</script>