by grouchoboy · 8y ago · 0 comments
IMO create a class in Javascript and adding a static method is the opposite of simplify things.
The simple way of doing it would be create a function in a module.
For me the use of static methods in languages like Java is a workaround. But it Javascript that workarount is not necessary.
No comments yet.