@@ -8,25 +8,25 @@ add_calculation = (a, b) => a + b;
88let add = add_calculation ( 30 , 20 ) ;
99console . log ( add ) ;
1010
11- // ([num, num2] = [30, 70]) => console.log(num + num2)
12- // ({ a, b } = { a: 10, b: 20 }) => a + b;
11+ ( [ num , num2 ] = [ 30 , 70 ] ) => console . log ( num + num2 )
12+ ( { a, b } = { a : 10 , b : 20 } ) = > a + b ;
1313
14- // let sum = (a, b) => a + b;
15- // console.log(sum(20, 80));
14+ let sum = ( a , b ) => a + b ;
15+ console . log ( sum ( 20 , 80 ) ) ;
1616
17- // about_me = () => {
18- // const name = `My Name is: Bozlur Rosid Sagor`;
19- // let age = 25;
20- // let contact = {
21- // 'address': 'Sector 11, Road#10, House#06, Dhaka-Bangladesh',
22- // 'phone': '+8801773474709',
23- // 'email': 'brshagor.cse@gmail.com'
24- // }
25- // let profession = `Full-stack software engineer`;
17+ about_me = ( ) => {
18+ const name = `My Name is: Bozlur Rosid Sagor` ;
19+ let age = 25 ;
20+ let contact = {
21+ 'address' : 'Sector 11, Road#10, House#06, Dhaka-Bangladesh' ,
22+ 'phone' : '+8801773474709' ,
23+ 'email' : 'brshagor.cse@gmail.com'
24+ }
25+ let profession = `Full-stack software engineer` ;
2626
27- // let show_all = `Name: ${name}\nAge: ${age}\nContact Infor: ${contact}\nProfession: ${profession}`
28- // return show_all;
29- // }
27+ let show_all = `Name: ${ name } \nAge: ${ age } \nContact Infor: ${ contact } \nProfession: ${ profession } `
28+ return show_all ;
29+ }
3030
31- // const about = about_me();
32- // console.log(about);
31+ const about = about_me ( ) ;
32+ console . log ( about ) ;
0 commit comments