{"ScriptPreparationCode":"function formatUSD(a) {\r\n\treturn \u0027$\u0027 \u002B a;\r\n}\r\n\r\nvar formatIntlUSD = new Intl.NumberFormat(\u0022en-US\u0022, { style: \u0027currency\u0027, currency: \u0027USD\u0027 });","TestCases":[{"Name":"Intl.NumberFormat","Code":"var a = new Intl.NumberFormat(\u0022en-US\u0022, { style: \u0027currency\u0027, currency: \u0027USD\u0027 }).format(\u002210000\u0022);","IsDeferred":false},{"Name":"toLocalString","Code":"var a = (10000).toLocaleString(\u0022en-US\u0022, { style: \u0027currency\u0027, currency: \u0027USD\u0027 });","IsDeferred":false},{"Name":"Custom Formatter","Code":"var a = formatUSD(\u002210000\u0022);","IsDeferred":false},{"Name":"Pre-created Intl formatter","Code":"var a = formatIntlUSD.format(\u002210000\u0022);","IsDeferred":false}]}