Modernizr/Modernizr — comment on commit 23d57f13416293cea7d7aea42ce28c402667dfd4
File: feature-detects/network-connection.js line 13
By paulirish:

this is basically used as a constant so you can do `connection.type == connection.UNKNOWN` as its a lookup map. the other values are in http://davidbcalhoun.com/2010/using-navigator-connection-android