Skip to content

Commit c99a3a6

Browse files
committed
first commit
1 parent 1a484fc commit c99a3a6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
var jack = {
2+
name:'jack',
3+
friends:['james','steve'],
4+
printFriends: function(){
5+
this.friends.forEach((f) => {
6+
console.log(this.name, 'knows' , f);
7+
})
8+
}
9+
};

0 commit comments

Comments
 (0)