Browse Source

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

v0.7.4-release
Ben Noordhuis 14 years ago
parent
commit
83b211ecb2
  1. 1
      src/v8_typed_array.cc

1
src/v8_typed_array.cc

@ -152,6 +152,7 @@ class TypedArray {
static BatchedMethods methods[] = {
{ "set", &TypedArray<TBytes, TEAType>::set },
{ "slice", &TypedArray<TBytes, TEAType>::subarray },
{ "subarray", &TypedArray<TBytes, TEAType>::subarray },
};

Loading…
Cancel
Save