We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 794d9a7 commit b611203Copy full SHA for b611203
1 file changed
lib/node_modules/@stdlib/slice/multi/lib/main.js
@@ -110,6 +110,7 @@ function MultiSlice() {
110
for ( i = 0; i < nargs; i++ ) {
111
args.push( arguments[ i ] );
112
}
113
+ // Use a workaround for being unable to combine `.apply` with the `new` operator:
114
proxy = Object.create( MultiSlice.prototype );
115
return MultiSlice.apply( proxy, args );
116
0 commit comments