calculate(operand1, operand2, operation) {
return calculate[operation](operand1, operand2)
}
calculate.multiply = (operand1, operand2) => operand1 * operand2
Nice
Обсуждают сегодня