|
|
|
|
|
by WebReflection
4152 days ago
|
|
or does it? You are passing arrays of arrays with a potentially random index position based convention that makes no sense to me at first read. Is that how you pass on real-world code a generic person data around? Is that how you don't use i18n for string and how you ignore occupations that starts with vowels? Destructuring is nice as other new features in ES6 but abusing these just because there are there ... no, I don't think that's going to improve any code or any readability. |
|
So:
And this last _is_ in fact how real-world code would pass person data around. Your i18n points stand, of course.