@@ -8,25 +8,25 @@ add_calculation = (a, b) => a + b;
8
8
let add = add_calculation ( 30 , 20 ) ;
9
9
console . log ( add ) ;
10
10
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 ;
13
13
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 ) ) ;
16
16
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` ;
26
26
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
+ }
30
30
31
- // const about = about_me();
32
- // console.log(about);
31
+ const about = about_me ( ) ;
32
+ console . log ( about ) ;
0 commit comments