📜  对javascript代码示例的简单兴趣

📅  最后修改于: 2022-03-11 15:04:12.078000             🧑  作者: Mango

代码示例1
function simpleInterest(amount) {
    var interest = amount * (6 / 100);
    return interest;
}
console.log(simpleInterest(100));
//Output: 60;