DEV Community

Discussion on: I'm Wes Bos, Ask Me Anything!

willcwork profile image

Beginner here, is this because whatever you put in the brackets after sayHello is what is passed, 'name' is essentially a placeholder for the value you are passing into it?

Thread Thread
kellyjandrews profile image
Kelly Andrews

Correct. name is the parameter scoped to that function.