toLocaleString () nie jest obsługiwane we wszystkich przeglądarkach? [duplikować

To pytanie ma już odpowiedź tutaj:

Internationalizacja (formatowanie liczb „num.toLocaleString ()”) nie działa dla chrome 4 odpowiedzi

Mam tę prostą funkcję:

Chrome, Firefox, IE:

Number(1000000).toLocaleString()
"1 000 000" // in french system, the space is the separator instead of the comma

Opera, Maxthon:

Number(1000000).toLocaleString()
"1000000"

Dlaczego Opera i Maxthon nie mogą tego sformatować? obsługują tę metodę, ale nie wykonują jej we właściwy sposób?

czy jest jakiśtoLocaleString() zastąpienie

questionAnswers(2)

yourAnswerToTheQuestion