Skip to content

Commit b611203

Browse files
committed
docs: add comment
1 parent 794d9a7 commit b611203

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • lib/node_modules/@stdlib/slice/multi/lib

lib/node_modules/@stdlib/slice/multi/lib/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ function MultiSlice() {
110110
for ( i = 0; i < nargs; i++ ) {
111111
args.push( arguments[ i ] );
112112
}
113+
// Use a workaround for being unable to combine `.apply` with the `new` operator:
113114
proxy = Object.create( MultiSlice.prototype );
114115
return MultiSlice.apply( proxy, args );
115116
}

0 commit comments

Comments
 (0)