Object in JavaScript:
var company = {"name":"EPM Solutions Ind. Pvt Ltd.",
"compannyID":2,
"city":"Bangalore",
};
var company = {
"name":"EPM Solutions Ind. Pvt Ltd.",
"compannyID":2,
"city":"Bangalore",
"street":"Kadubisnahalli",
"state":"Karnataka",
"pincode":"560103",
"address":function(){
return this.street+", "+this.city+", "+this.state+", - "+this.pincode;
},
'knownTech':['JS','HTML','jQuery','CSS']
};
Comments
Post a Comment