React.js
Angular
Ethical Hacking
Agile
AWS
BlockChain
Cassandra
Cloud
Salesforce
Scaled Agile
TOGAF
DevOps
GIT
Jenkins
Jira
Kibana
Linux
NGINX
Ansible
Artificial Intelligence
in JavaScript by
What is MUL functions?
Click here to read more about DevOps

1 Answer

0 votes
by

MUL means simple multiplication of numbers. It is a techique in which you pass a one value as an argument in a function and that function returns another function to which you pass the second value and the process go on. For example: x*y*z can be representing as:

function mul (x) {  
return function (y) { // anonymous function    
return function (z) { // anonymous function      
return x * y * z;    };
  };
}

Related questions

Madanswer
+1 vote
+1 vote
asked Jul 16, 2019 in JavaScript by Indian
+1 vote
asked Jul 16, 2019 in JavaScript by Indian
...