Hello I have been trying to figure out what do on this and when I define my variable.
I am using JavaScript.
Hello I have been trying to figure out what do on this and when I define my variable.
I am using JavaScript.
When using this language, all functions have to be defined with `` function functionName(functionType){
so
function sayName(event){
pet.say("hello")
}
would be your proper function
Thank you.
You’re welcome sir, let me know if you need anything else.