3
Debug Typo in Return Keyword
beginner
•
Debug
Completed
Find and fix the misspelled return keyword in this calculation function:
Helpful Hint:
Notice the spelling of "retun".
Expected Solution:
function calculateTax(amount, rate) {\n return amount * (rate / 100);\n}
Explanation: The JavaScript keyword is `return`.
Advertisement
Google AdSense Slot (LEADERBOARD)
Automated High-CTR Ad Rail • Set Publisher ID in config/adsense.php