Write a multiply function that multiples 2 integers without using *



function multiply(a, b){
   var n = num;
   for(var i = 1; i < times; i++)
      num += n; // increments itself
   return num;
}

multiply(10, 5)
// 50
						

However this does not account for handling zeros and negative integers. // TO DO