I have this javascript code:

```js
var chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789',
  key = '',
  c;

for (i = 0; i < 32; i++) {
  c = Math.floor(Math.random() * chars.length + 1);
  key += chars.charAt(c)
}

console.log('return key length that needs to be 32...' + key.length);
```

I need to always return 32 key length..but i get random:

```
return key length that needs to be 32...31
return key length that needs to be 32...29
return key length that needs to be 32...32
return key length that needs to be 32...31
return key length that needs to be 32...30
return key length that needs to be 32...32
return key length that needs to be 32...31

```

I know that error is in: `i<32;` but javascript freezes when i add `i=32;` i try `i<=32` but same results...so i know it is basic question but i don't know hot to return always 32 key length?