GeekyTheory/nodechat — pull request #2 by tfmtoto (2014-02-24 01:46:42+00:00)
Title: Update index.html -- Parse Javascript object

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.