refactoring

This commit is contained in:
Maxim Devaev
2024-10-18 08:28:30 +03:00
parent c1f408ea1a
commit 3852d0a456
5 changed files with 40 additions and 38 deletions

View File

@@ -77,7 +77,7 @@ export var tools = new function() {
);
};
self.makeClosure = function(func, ...args) {
self.partial = function(func, ...args) {
return () => func(...args);
};