✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Укажіть, що буде результатом виконання цього коду:
function getPrice(amount){ if (amount < 20) { return amount * 10; } else if (amount < 50) { return amount * 8; } return amount * 5; }getPrice(10);