Trailing commas
final commas
Trailing commas
Trailing commas ("final commas"라고도 불립니다)는 새로운 엘리먼트나 매개변수, 속성을 JavaScript 코드에 추가할 때 유용합니다. 새로운 속성을 추가할 때, 마지막 줄에 trailing comma가 있다면 그 줄을 수정 없이 그대로 복사해 쓸 수 있습니다. 이외에도 버전 관리 이력이 간단해지고 코드 편집이 더 편해진다는 장점이 있습니다.
https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Trailing_commas
JS JSON stringify()
How we made JSON.stringify more than twice as fast · V8
This post explains our recent effort to improve JSON.stringify performance
https://v8.dev/blog/json-stringify
Get javascript object property via key name in variable
Say I have something that looks like this in javascripts: var obj = { subObj : {} }; var type = 'subObj'; How can I get obj's subObj w/ type? For instance I would like to do something like: obj.(
https://stackoverflow.com/questions/8556673/get-javascript-object-property-via-key-name-in-variable

Seonglae Cho