Question: how to calculate compound interest in javascript?
Answer: = future value of the loan including interest;
= the principal (initial) loan amount;
= annual interest rate (decimal);
= the number of times the interest is compounded per year;
= the number of years the money is borrowed for.