Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

multply js

 const multiply = (...arg) =>{

    const result = arg.reduce((x,y)=>{
        return y*x
    }
    )
    return result
    }
    
    console.log(multiply(4,5,5));
 
PREVIOUS NEXT
Tagged: #multply #js
ADD COMMENT
Topic
Name
3+8 =