dev/vue.js
ES6 - 속성명 축약 특징 설명
dev_0hoon
2025. 1. 10. 10:55
- 객체의 속성명과 값 명이 동일할 때 아래와 같이 축약 가능
var figures = 10;
var dictionary = {
//figures: figures,
figures
}