-
객체 디스트럭쳐링 메모NULL STACK 2019. 8. 27. 09:05반응형
const sample = ( text ) => { const id = '문자열' const key = {} key[id] = text } const sample = ( text ) => { const id = '문자열' const key = { [id] : test } }
es10이후 문법.
반응형
const sample = ( text ) => {
const id = '문자열'
const key = {}
key[id] = text
}
const sample = ( text ) => {
const id = '문자열'
const key = {
[id] : test
}
}
es10이후 문법.