반응형
1. JS Number.prototype.toLocalestring()
Number.prototype.toLocaleString() - JavaScript | MDN
The toLocaleString() method of Number values returns a string with a language-sensitive representation of this number. In implementations with Intl.NumberFormat API support, this method simply calls Intl.NumberFormat.
developer.mozilla.org
2. JS textContent, value, innerText의 차이점
https://velog.io/@uni/JavaScripttextContent-value-innertext-%EC%B0%A8%EC%9D%B4%EC%A0%90
[JavaScript]textContent, value, innertext 차이점은?
끝맛잇기 게임을 만들다가 textContent, value, innertext를 사용하게 되면서 이 세개의 차이점은 무엇일까라는 의문이 들었다. text 값을 가져와서 변경 할 수 있다.input과 같은 form 요소의 값을 가져오고
velog.io
반응형