-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproblem21.js
More file actions
18 lines (11 loc) · 1.15 KB
/
Copy pathproblem21.js
File metadata and controls
18 lines (11 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* fullName নামে একটা ফাংশন তৈরী কর যেটা তোমার নামের প্রথম অংশ এবং তোমার নামের শেষের অংশ প্যারামিটার হিসেবে নিবে।
আর তোমার নামের দুই অংশ জোড়া দিয়ে আউটপুট হিসেবে তোমার পূর্ন নাম রিটার্ন করে দিবে।
যেমন ধরো, hablu এবং kanto ইনপুট প্যারামিটার হিসেবে দিলে আউটপুট হিসেবে hablu kanto রিটার্ন করবে।
Create a function called 'fullName' that takes the first part of your name and the last part of your name as parameters.
And it will return your full name as the output by concatenating the two parts of your name.
For example, given hablu and kanto as input parameters, hablu will return kanto as output. */
function fullName(firstName, lastName){
var myName = firstName + " " + lastName;
return myName;
};
console.log(fullName("Shourav","Raj"));