I am using chrome browser (Version 92.0.4515.131).
I found that the support for JavaScript Intl is not functioning properly in Chrome browser.
const formattedDate = new Intl.DateTimeFormat('nb-NO', {
"year": "numeric",
"month": "2-digit",
"day": "2-digit"
}).format(new Date('2021-08-02'));
console.log(formattedDate);
Chrome is giving "08/02/2021" as a result, instead of the expected "02.08.2021" like in Firefox.
The JavaScript functionality is defined in ECMA and MDN mention for the browser compatibility.
Is there is any modification we need to add in order for this to work properly in Chrome?