Closed Apidcloud closed 7 years ago
Or use Lodash arrays and string instead. This is probably a better solution overall.
We can use it to replace most of the common/utils functions.
Also, do we use them at all outside the library? @joafalves
I don't think we need an external library but I agree that those helper functions should be scoped.
Also, do we use them at all outside the library? @joafalves
Yes, it might be useful for users (scripting)
I think Global extensions of built-in objects such as Array and String should not be allowed.
An alternative would be to extend from said classes (e.g., prefix Sugar) and implement those extensions there.