Difference between properties and methods?

Hi

what’s the difference between properties and methods in javascript?

I know methods come with parentheses, but properties don’t? Is that correct?

hope I haven’t asked something too straight forward…

Properties are something the object has where methods are something that can be done. Think of a pair of jeans. Properties might include: legs: 2, pockets: 5, buttons: 1, beltLoops: 6, etc… Methods could include jeans.wash(), jeans.dry(), jeans.patchHole(), jeans.iron(), etc… Hopefully that helps.

Thank you, you’ve explanied it really well, i now have a better unstanding.