选择题56题:输出什么?

1function getFine(speed, amount) { 2 const formattedSpeed = new Intl.NumberFormat({ 3 'en-US', 4 { style: 'unit', unit: 'mile-per-hour' } 5 }).format(speed) 6 7 const formattedAmount = new Intl.NumberFormat({ 8 'en-US', 9 { style: 'currency', currency: 'USD' } 10 }).format(amount) 11 12 return `The driver drove ${formattedSpeed} and has to pay ${formattedAmount}` 13} 14 15console.log(getFine(130, 300))
难度:
更新时间:2021-07-04

本题为单选题”

赞赏支持

预览

题库维护不易,您的支持就是我们最大的动力!