mirror of
https://github.com/tenrok/axios.git
synced 2026-06-17 19:21:29 +03:00
Changing to file level use strict statement
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Syntactic sugar for invoking a function and expanding an array for arguments.
|
||||
*
|
||||
@@ -19,7 +21,6 @@
|
||||
* @returns {Function}
|
||||
*/
|
||||
module.exports = function spread(callback) {
|
||||
'use strict';
|
||||
return function (arr) {
|
||||
callback.apply(null, arr);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user