SOURCE

let num1 = 19000;
let str1 = num1.toLocaleString("currency")
console.log(str1)

console 命令行工具 X clear

                    
>
console