{"ScriptPreparationCode":"FORMAT = { day: \u00272-digit\u0027, month: \u0027short\u0027, year: \u0027numeric\u0027 }\r\ncache = new Map()","TestCases":[{"Name":"No caching","Code":"const date = new Intl.DateTimeFormat(\u0027en-AU\u0027, FORMAT).format(new Date())","IsDeferred":false},{"Name":"With JSON-keyed cache","Code":"const key = JSON.stringify(FORMAT)\r\nlet formatter = cache.get(key)\r\nif (!formatter) {\r\n formatter = new Intl.DateTimeFormat(\u0027en-AU\u0027, FORMAT)\r\n cache.set(key, formatter)\r\n}\r\nconst date = formatter.format(new Date())","IsDeferred":false}]}