Created
August 7, 2015 20:36
-
-
Save chuck0523/1638c28e456868ced16c 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 obj = { | |
mon : 0, | |
tue : 1, | |
wed : 2, | |
thu : undefined, | |
time : { | |
morning : "5-11", | |
night : "19-22" | |
} | |
} | |
console.log(obj.time.morning); // 5-11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment