Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
`_.reverse` is buggy #220
// To see which symbols are being used here, check: // http://mothereff.in/js-escapes#1ma%C3%B1ana%20man%CC%83ana naiveReverse('mañana mañana'); // → 'anãnam anañam' // Wait, so now the tilde is applied to the `a` instead of the `n`? WAT.
Another issue is explained here: http://stackoverflow.com/a/16776380/96656 (Posting a link because GitHub won’t let me use the symbols in a comment.)
You could use Esrever for this. Something like:
_.reverse = require('esrever').reverse;