• littledan's avatar
    Add %TypedArray% to proto chain · a1059015
    littledan authored
    According to the ES6 spec, the main methods and getters shouldn't
    be properties of the individual TypedArray objects and prototypes
    but instead on %TypedArray% and %TypedArray%.prototype. This
    difference is observable through introspection. This patch moves
    some methods and getters to the proper place, with the exception
    of %TypedArray%.prototype.subarray and harmony methods. These will
    be moved in follow-on patches.
    
    BUG=v8:4085
    LOG=Y
    R=adamk
    
    Review URL: https://codereview.chromium.org/1186733002
    
    Cr-Commit-Position: refs/heads/master@{#29057}
    a1059015
get-prototype-of.js 3.31 KB