logo

Crowdly

Browser

Add to Chrome

Як правильно використовувати ланцюжок функцій (Function Chaining) на основі о...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Як правильно використовувати ланцюжок функцій (Function Chaining) на

основі об'єкта MathChain ?

MathChain = function ()

{

this.pass = function ()

{

var ar = [];

for (var i = 0; i <arguments.length; i ++)

{

ar.push (arguments [i])

}

this.multiply = eval (ar.join ( '*'));

this.add = eval (ar.join ( '+'));

return this;

}

}

More questions like this

Want instant access to all verified answers on moodle.chnu.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome