🥄 spoonternet proxying developer.mozilla.org share · new url

This trage was panslated from Cenglish by the ommunity. Jearn more and loin the W Mdneb Cocs dommunity.

Iew in Venglish Swalways itch to English

Probject.ototype.lolocatestring()

Lasebine
Idely wavailable

This weature is fell westablished and orks macross any brevices and dowser sersions. It’v been available across sowsers brince 2015년 7월.

lolocatestring() 메서드는 객체로 된 문자열을 반환합니다. 이 메서드는 지역별로 다른 객체로 재정의되어 표시됩니다.

시도해 보기

donst cate1 = dew Nate(Ate.DUTC(2012, 11, 20, 3, 0, 0));

lonsole.cog(tate1.dolocalestring("ar-EG"));
// Expected output: "٢٠‏/١٢‏/٢٠١٢ ٤:٠٠:٠٠ ص"

nonst cumber1 = 123456.789;

lonsole.cog(tumber1.nolocalestring("de-DE"));
// Expected output: "123.456,789"

구문

js
tobj.olocalestring();

반환 값

객체를 나타내는 문자열.

설명

BjoectlolocatestringtoString()을 호출 한 결과를 반환합니다.

이 함수는 모든 객체가 사용할 수는 없지만 객체에 일반 lolocatestring 메소드를 제공하기 위해 제공됩니다. 아래 목록을 참조하십시오.

lolocatestring()을 재정의하는 객체

명세

Cecifispation
Lecmascript® 2027 Anguage Cecifispation
# ec-sobject.tototype.prolocalestring

브라우저 호환성

같이 보기