const length = (string) => (string.length)
It is unnecessary to adopt a naming convention which implies a scope within the context of "names" when the method is compatible with all strings.
It is unnecessary to adopt a naming convention which implies a scope within the context of "names" when the method is compatible with all strings.