mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
typed arrays: alias method subarray() to slice()
This commit is contained in:
@@ -152,6 +152,7 @@ class TypedArray {
|
||||
|
||||
static BatchedMethods methods[] = {
|
||||
{ "set", &TypedArray<TBytes, TEAType>::set },
|
||||
{ "slice", &TypedArray<TBytes, TEAType>::subarray },
|
||||
{ "subarray", &TypedArray<TBytes, TEAType>::subarray },
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user