Last active
May 2, 2018 08:02
-
-
Save khg0712/d6cfd664257caf3b12a4b5180290047d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a = { | |
column: 3, | |
row: 2 | |
}; | |
//프로퍼티 접근 | |
console.log(a.column);//3 출력 | |
console.log(a['row']);//2 출력 | |
console.log(a.span);//undefined 출력 | |
//프로퍼티 변경 | |
a.column = 2 | |
a['row'] = 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment