Posts by Filipe Luiz • 13 points
1 post
-
1
votes2
answers174
viewsQ: How to classify letters and numbers in Javascript and Lodash?
Sort pattern of Lodash comes first number after letter, for example: const myArray = ['2', '5', '10', 'A', '1']; //sim, número String const result = _.orderBy(myArray, item => parseInt(item),…
javascriptasked Filipe Luiz 13