mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 17:37:50 +00:00
Remove semicolons.
This commit is contained in:
@@ -10,12 +10,12 @@
|
||||
*/
|
||||
function apply(func, thisArg, args) {
|
||||
switch (args.length) {
|
||||
case 0: return func.call(thisArg);
|
||||
case 1: return func.call(thisArg, args[0]);
|
||||
case 2: return func.call(thisArg, args[0], args[1]);
|
||||
case 3: return func.call(thisArg, args[0], args[1], args[2]);
|
||||
case 0: return func.call(thisArg)
|
||||
case 1: return func.call(thisArg, args[0])
|
||||
case 2: return func.call(thisArg, args[0], args[1])
|
||||
case 3: return func.call(thisArg, args[0], args[1], args[2])
|
||||
}
|
||||
return func.apply(thisArg, args);
|
||||
return func.apply(thisArg, args)
|
||||
}
|
||||
|
||||
export default apply;
|
||||
export default apply
|
||||
|
||||
Reference in New Issue
Block a user