GeekyTheory/nodechat — pull request #3 by tfmtoto (2014-02-24 02:03:53+00:00)
Title: Use of Javascript object instead of an array.

I believe it is better to use a Javascript object (dictionary) to store the nicknames, as we can access them directly by their values (i.e. nicknames themselves).

Notations are much simpler and we also save us from using indexOf().

NOTE: This require a change in how we parse nicknames in index.html.