-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtute53.js
35 lines (31 loc) · 821 Bytes
/
tute53.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// console.log("this is tute 53")
// function greet(names, greetText){
// console.log(names+ " is a good boy")
// console.log(greetText+ names3 + " is a good boy")
// }
// let names="harry";
// let names1="garry";
// let names2="marry";
// let names3="sathvik";
// let greetText="good morning"
// greet(names,greetText)
// greet(names1,greetText)
// greet(names2,greetText)
// greet(names3,greetText)
// console.log(names + " is a good boy");
function hello(files,filestext="how are you"){
console.log(filestext+ " " +files+" this is good")
}
function sum(a,b,c){
let d= a+b+c
return d
}
let files="nam's";
let files1="lucy";
let files2="jack sparrow";
let filestext="wassup";
hello(files,filestext);
hello(files1,filestext);
hello(files2);
let returnVal = sum(1,2,4,5,6)
console.log(returnVal)