We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fe3c45 commit cce5fb9Copy full SHA for cce5fb9
lib/array.js
@@ -126,11 +126,11 @@ module.exports = function Array (_type, _length) {
126
},
127
// "slice" implementation
128
slice: {
129
- value: slicer,
+ value: slice,
130
enumerable: true,
131
writable: true,
132
configurable: true
133
- }
+ }
134
})
135
136
// save down the "fixedLength" if specified. "ref-struct" needs this value
@@ -290,7 +290,7 @@ function setter (index, value) {
290
* The "slice" implementation.
291
*/
292
293
-function slicer (start, end) {
+function slice (start, end) {
294
var data
295
296
if (end) {
0 commit comments