|
|
|
|
|
by grouchoboy
2998 days ago
|
|
> - you can have static methods 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. |
|