Exercise 9 · Chapter: FunctionsOptional+50 XP
Fix the Parameters
The function is called with arguments in the wrong order. Fix the call!
Expected output:
Alex is 10 years old
Need a hint?
3 available · costs 5 XP each
javascript
function describe(name, age) {
console.log(`${name} is ${age} years old`);
}
describe(10, "Alex");
Output
Run your code to see the output here.