What does JSLint's "Bad Escapement" mean in this case?

Posted by karlthorwald on Stack Overflow See other posts from Stack Overflow or by karlthorwald
Published on 2010-04-08T12:46:34Z Indexed on 2010/04/08 12:53 UTC
Read the original article Hit count: 419

Filed under:

I thougth "bad escapement" stands for wrong use escaping with slash.

Why does JSLint bring up the message in this function on the 3d line (for...) ?

  function splitTags(commaSeparated) {
    var tagArray = commaSeparated.split(','); 
    for (var i=tagArray.length - 1; i>=0; --i ){
      tagArray[i] = f.trim(tagArray[i]);
    }    
    return tagArray;
  }

© Stack Overflow or respective owner

Related posts about jslint