Function to multiply x with large number stored in vector v . Result is stored in v .
let v = [ ] ; function multiply ( x ) { let carry = 0 ; let size = v . length ; for ( let i = 0 ; i < size ; i ++ ) {