• Daniel Ehrenberg's avatar
    Implement %TypedArray%.reverse · cc74268d
    Daniel Ehrenberg authored
    This patch adds the reverse method to TypedArrays, together with a
    test. The test also runs for normal Arrays, since I didn't see a
    test for reversing dense arrays.
    
    BUG=v8:3578
    LOG=Y
    R=arv@chromium.org
    
    Review URL: https://codereview.chromium.org/1132723008
    
    Patch from Daniel Ehrenberg <dehrenberg@chromium.org>.
    
    Cr-Commit-Position: refs/heads/master@{#28493}
    cc74268d
typedarray-reverse.js 1.53 KB