Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

js-sys: Add bindings for TypedArray.slice #956

Merged
merged 1 commit into from
Oct 10, 2018

Conversation

alexcrichton
Copy link
Contributor

This commit adds support for the slice function on all TypedArray
instances. The slice function is similar to subarray except that it
actually copies the data, whereas subarray just returns a different
view into data.

This commit adds support for the `slice` function on all `TypedArray`
instances. The `slice` function is similar to `subarray` except that it
actually copies the data, whereas `subarray` just returns a different
view into data.
@alexcrichton alexcrichton merged commit e72ae12 into rustwasm:master Oct 10, 2018
@alexcrichton alexcrichton deleted the js-sys-typed-array-slice branch October 11, 2018 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants