[modern-react] 리액트 스터디 파일 추가
This commit is contained in:
7
modern-react/my-modern/obj_prop.js
Normal file
7
modern-react/my-modern/obj_prop.js
Normal file
@@ -0,0 +1,7 @@
|
||||
const title = '리액트 입문';
|
||||
const price = 500;
|
||||
|
||||
const book = { title, price };
|
||||
// const book = { title: title, price: price };
|
||||
|
||||
console.log(book);
|
||||
Reference in New Issue
Block a user