1) function proposal(thename, thecolor) {
// "+"-means conjunction, for example sentence 1 is sentence 2 in this case
// "alert"- is like "$x" in php
alert ("my name is" + thename + "and my favourite color is " + thecolor + ".")
}
proposal("gvanca", "green")
//result- "my name is gvanca and my favourite color is green"
2) function number(x,) {
return 8 * x
}
let number1 = number(2)
alert (number1)
//result- 8 * 2=16 so the answer is "16"