title: JavaScript - Why does my parseInt return NaN?
body: <pre><code>var bucketId = $.cookie('bucketId');
  console.log(bucketId);
  
  var bucketIdNumber = parseInt(bucketId, 10);
  console.log("bucketIdNumber " + bucketIdNumber);
  </code></pre>
  
  <p>In the code about bucketId returns "17".
  So why when I parseInt bucketId do I get NaN?</p>