Increment a number without using ++ or + | function that increment the value . ; Invert bits and apply negative sign ; Driver code
function increment ( i ) { let i1 = - ( ~ ( i ) . charCodeAt ( ) ) ; return String . fromCharCode ( i1 ) ; } let n = ' ' ; document . write ( increment ( n ) ) ;