Skip to content

Commit cce5fb9

Browse files
committed
array: s/slicer/slice/
1 parent 2fe3c45 commit cce5fb9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/array.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,11 @@ module.exports = function Array (_type, _length) {
126126
},
127127
// "slice" implementation
128128
slice: {
129-
value: slicer,
129+
value: slice,
130130
enumerable: true,
131131
writable: true,
132132
configurable: true
133-
}
133+
}
134134
})
135135

136136
// save down the "fixedLength" if specified. "ref-struct" needs this value
@@ -290,7 +290,7 @@ function setter (index, value) {
290290
* The "slice" implementation.
291291
*/
292292

293-
function slicer (start, end) {
293+
function slice (start, end) {
294294
var data
295295

296296
if (end) {

0 commit comments

Comments
 (0)