• dehrenberg's avatar
    Add TypedArray.from method · cc3f59db
    dehrenberg authored
    This function creates a new way to make TypedArrays based on existing
    iterable or Array-like objects, analogous to Array.from. The patch
    implements the function and adds tests.
    
    R=arv@chromium.org
    BUG=v8:3578
    LOG=Y
    
    Review URL: https://codereview.chromium.org/1132163011
    
    Cr-Commit-Position: refs/heads/master@{#28456}
    cc3f59db
harmony-array.js 7.32 KB