Question: ```
var unique = function(){

var n=0;
return function(){

    return {

        inc : function(){
            n++;
            console.log(n);
        }

    };

 };
};

console.log(unique()().inc());

```

The code above prints 1 and then undefined what is the reason undefined gets printed ?

Answer: 
This seems to work for most keyboard keys, not sure about function keys and return key. 

```
NSString* input = @"abcdefghijklkmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*()_+[]\{}|;':\"\\,./<>?~ ";
for(int i = 0; i<input.length; i ++)
{
    NSLog(@"Found (at %i): %i",i , [input characterAtIndex:i]);
}

```
Use `stringWithFormat` call and pass the int values.