Pregunta de entrevista de NIKE

Multiply numbers without using multiply operation or Math library.

Respuesta de la entrevista

Anónimo

7 sep 2022

// 0+1 0+1+1 0+1+1+1 // 0+2 0+2+2 0+2+2+2 const mul = (a,b) => { let repAdd = 0; if(a<=b){ for(let i=0; i