Permalink
Browse files

typed arrays: alias method subarray() to slice()

  • Loading branch information...
bnoordhuis committed Jul 26, 2011
1 parent 7cab4d6 commit 83b211ecb2a4940f4fd327313370f41c8acc0b64
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/v8_typed_array.cc
View
@@ -152,6 +152,7 @@ class TypedArray {
static BatchedMethods methods[] = {
{ "set", &TypedArray<TBytes, TEAType>::set },
+ { "slice", &TypedArray<TBytes, TEAType>::subarray },
{ "subarray", &TypedArray<TBytes, TEAType>::subarray },
};

0 comments on commit 83b211e

Please sign in to comment.