I would like to know how to multiply my variable price by this part "[value1, value2, value3]" in the following code:
var totalvalores = [valor1, valor2, valor3]
.reduce(function(total, nr) {
return total + (nr || 0);
}, 0);...
asked by
02.06.2016 / 21:28