Skip to content

Commit ec25a97

Browse files
committed
object_destructring done
1 parent da516e3 commit ec25a97

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

02_basics/objectdestructring.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//console.log("hello world ");
2+
3+
const course={
4+
course_name:"Ultimate js course ",
5+
course_id:999,
6+
course_instructor:"waseem_akram",
7+
}
8+
const{course_instructor:teacher}=course;
9+
//console.log(course_instructor);
10+
//console.log(teacher)
11+
12+
13+
//json api best
14+
15+
//https://randomuser.me/api/

0 commit comments

Comments
 (0)