File tree 2 files changed +26
-0
lines changed
2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ fullName নামে একটা ফাংশন তৈরী কর যেটা তোমার নামের প্রথম অংশ এবং তোমার নামের শেষের অংশ প্যারামিটার হিসেবে নিবে।
2
+ আর তোমার নামের দুই অংশ জোড়া দিয়ে আউটপুট হিসেবে তোমার পূর্ন নাম রিটার্ন করে দিবে।
3
+ যেমন ধরো, hablu এবং kanto ইনপুট প্যারামিটার হিসেবে দিলে আউটপুট হিসেবে hablu kanto রিটার্ন করবে।
4
+
5
+
6
+ Create a function called 'fullName' that takes the first part of your name and the last part of your name as parameters.
7
+ And it will return your full name as the output by concatenating the two parts of your name.
8
+ For example, given hablu and kanto as input parameters, hablu will return kanto as output.
Original file line number Diff line number Diff line change
1
+ /* fullName নামে একটা ফাংশন তৈরী কর যেটা তোমার নামের প্রথম অংশ এবং তোমার নামের শেষের অংশ প্যারামিটার হিসেবে নিবে।
2
+ আর তোমার নামের দুই অংশ জোড়া দিয়ে আউটপুট হিসেবে তোমার পূর্ন নাম রিটার্ন করে দিবে।
3
+ যেমন ধরো, hablu এবং kanto ইনপুট প্যারামিটার হিসেবে দিলে আউটপুট হিসেবে hablu kanto রিটার্ন করবে।
4
+
5
+
6
+ Create a function called 'fullName' that takes the first part of your name and the last part of your name as parameters.
7
+ And it will return your full name as the output by concatenating the two parts of your name.
8
+ For example, given hablu and kanto as input parameters, hablu will return kanto as output. */
9
+
10
+
11
+ function fullName ( firstName , lastName ) {
12
+ var myName = firstName + " " + lastName ;
13
+
14
+ return myName ;
15
+ } ;
16
+
17
+
18
+ console . log ( fullName ( "Shourav" , "Raj" ) ) ;
You can’t perform that action at this time.
0 commit comments