[Noisebridge WebDev] [JavaScript Class] Arrays Homework

Garrett Smith dhtmlkitchen at gmail.com
Sun Nov 10 06:46:38 UTC 2013


I've had one homework posted to the list so far.

Anyone else have a take on the questions?
https://noisebridge.net/wiki/JavaScript/Notes/Array#Assignment_3_Write_a_function_that_sorts_an_array_of_strings_case-insensitively
.

Write a function that sorts an array of strings case-insensitively.

var input = ["penguin", "Bear", "pelican", "ostrich"];
sortStringsCI(input); // ["Bear", "pelican", "penguin", "ostrich"];


-- 
Garrett
@xkit
ChordCycles.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.noisebridge.net/pipermail/webdev/attachments/20131109/9291ed1c/attachment-0002.html>


More information about the WebDev mailing list