doc: fixed typo

I assume constant should be consistent in this case as also mentioned in: https://groups.google.com/d/msg/nodejs/zi4GpnUCfJ4/akYKbL9VVH4J