-
const sample = ( text ) => { const id = '문자열' const key = {} key[id] = text } const sample = ( text ) => { const id = '문자열' const key = { [id] : test } } es10이후 문법.