✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
основі об'єкта 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;
}
}