function consist of many statement to execute the specific task
this example tow create function using javascript
function sum(){
var x=10;
var y=20
var z= x+y;
}
consist of method and function
roperties are the values associated with a JavaScript object.
A JavaScript object is a collection of unordered properties.
Properties can usually be changed, added, and deleted, but some are read only. example objectName.property // person.age