All new
alle new
This commit is contained in:
1 parent
da64472251
commit
5b20adee48
1605 files changed
+396517
-1674
No files matched your search
+8
@@ -0,0 +1,8 @@
|
||||
// Returns a function that will only be executed on and after the Nth call.
|
||||
export default function after(times, func) {
|
||||
return function() {
|
||||
if (--times < 1) {
|
||||
return func.apply(this, arguments);
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user