{"ScriptPreparationCode":"const formatter = new Intl.NumberFormat(undefined, {\r\n style: \u0027currency\u0027,\r\n currency: \u0027RUB\u0027,\r\n});","TestCases":[{"Name":"Intl.NumberFormat","Code":"const currencyPlayNumber = 1;\r\n\r\nconst translatedString = formatter.format(currencyPlayNumber);","IsDeferred":false},{"Name":"Number.toLocaleString","Code":"const currencyPlayNumber = 1;\r\n\r\nconst translatedString = currencyPlayNumber.toLocaleString(undefined, {\r\n style: \u0027currency\u0027,\r\n currency: \u0027RUB\u0027,\r\n})","IsDeferred":false},{"Name":"Regex","Code":"const currencyPlayNumber = 1;\r\n\r\nconst translatedString = \u0060${currencyPlayNumber}\u0060.replace(/\\B(?=(\\d{3})\u002B(?!\\d))/g, \u0027,\u0027);","IsDeferred":false}]}