This is not an equivalent transformation. Was this in response to a jslint rather than a jshint complaint?