Last active
May 29, 2016 03:29
-
-
Save BongJaeChoi/a0b719581d5096222ec4464a90d08d53 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
#//객체지향프로그래밍.. | |
##//객체는 무엇인가?? 자바와는 또 다른 문법, 방식!! | |
###//객체는 이름-값 (name value pair) Map?????? | |
###//그렇다면 이름이나 값 둘중 하나만 알아도 pair가 누구인지 알 수 있겠다! | |
###//이름 - 값(객체?) 도 가능!!! but 이름 자리에는 자바스크립트 문자열 이 명시! 되어야함 | |
###//사용법은 | |
var work = { | |
time: "8hour", | |
isLike:"잘...", | |
isHard:"매우.." | |
} | |
// console.log(work.isHard); | |
console.log(work[isHard]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment