Skip to content

_.reverse is buggy #220

@mathiasbynens

Description

@mathiasbynens

For example:

// 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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions