Skip to content

Commit 6023d0d

Browse files
updated
1 parent 9262f1c commit 6023d0d

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
const user = {
2+
username : "iamsujittomar",
3+
logedIn : true,
4+
email : "email@gmail.com",
5+
6+
getUserDetails : function(){
7+
console.log(`username : ${this.username}, email : ${this.email}`);
8+
}
9+
}
10+

25_Revision/19_oops_and_classes/theory.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# OOP
2-
32
Object Literal
43
-Constructor Function
54
-Prototype

0 commit comments

Comments
 (0)