Skip to content

Commit

Permalink
39.JavaScript - 객체 - 형식
Browse files Browse the repository at this point in the history
  • Loading branch information
egoing committed Jun 4, 2018
1 parent c6207ad commit 5cf8d94
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions syntax/object.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
var members = ['egoing', 'k8805', 'hoya'];
console.log(members[1]); // k8805

var roles = {
'programmer':'egoing',
'designer' : 'k8805',
'manager' : 'hoya'
}
console.log(roles.designer); //k8805

0 comments on commit 5cf8d94

Please sign in to comment.