I was reading http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml when I noticed in the Constant section with the annotated comments:
/**
* The number of seconds in each of the given units.
* @type {Object.<number>}
* @const
*/
and then the guide goes on with "This allows the compiler to enforce constant-ness."
Is this a v8 thing? where is this documented?
My mind is giddy with the possibility that maybe, just maybe, i can provide v8 (or whatever) with type information!