mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
refactor(util) slice: apply -> call
This commit is contained in:
parent
f5db7a8a24
commit
53450a5b31
1 changed files with 1 additions and 1 deletions
|
|
@ -855,7 +855,7 @@
|
|||
var ret;
|
||||
|
||||
if (array)
|
||||
ret = [].slice.apply(array, count);
|
||||
ret = [].slice.call(array, count);
|
||||
|
||||
return ret;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue