String.prototype.padLeft / String.prototype.padRight

Claude Pache claude.pache at gmail.com
Tue Nov 17 22:13:47 UTC 2015


> Le 17 nov. 2015 à 22:29, Coroutines <coroutines at gmail.com> a écrit :
> 
> There is no confusion with *Left() or *Right().

In a text string using a right-to-left script (Arabic, Hebrew, etc.), `trimLeft()` does confusingly "trim at the right".

—Claude



More information about the es-discuss mailing list