dimanche 28 août 2016

Javascript string sorting functions

Hello I'm new to javascript and I'd like to know whether there are some sorting functions for working with strings since I haven't found any. Perhaps for alphabetical sorting like
var str = sort("bca");//str contains "abc"
If there aren't any do I have to just make my own or is there any other solution like importing them somehow?

Aucun commentaire:

Enregistrer un commentaire