DEV Community

Discussion on: Creating a simple Vue pluralize filter

Collapse
_aadil77 profile image
aadill77

we can use Point Free Expression in vue.filter as the functions share the same shape.

Vue.filter('pluralize', pluralize);