mirror of https://github.com/nodejs/node.git
typed arrays: alias method subarray() to slice()
parent
7cab4d6870
commit
83b211ecb2
|
@ -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…
Reference in New Issue