Iterate over the range [ '0' , '9' ]
for ( var i = 1 ; i <= 9 ; i ++ ) { mp . set ( String . fromCharCode ( i + ' ' . charCodeAt ( 0 ) ) , i ) ; } mp . set ( ' ' , 10 ) ; mp . set ( ' ' , 11 ) ; mp . set ( ' ' , 12 ) ; mp . set ( ' ' , 13 ) ; mp . set ( ' ' , 14 ) ; mp . set ( ' ' , 15 ) ;