Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do you assign object properties?

Answer Posted / team sam onn

var obj=new Object();
obj["age"]=18; or obj.age=18

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to add buttons in javascript?

827


How to remove duplicates from javascript array?

962


What does undefined value mean in javascript?

1044


List some of the disadvantages of javascript.

1006


Should I learn java first or javascript?

922


What is the difference between local storage & session storage?

873


Explain the difference between javascript and an asp script.

1047


How do I open javascript in browser?

927


Explain how to write class methods vs. Instance methods.

953


Where javascript variables are stored?

1007


How to empty an array in JavaScript?

1005


Name the types of functions.

905


How many types of functions are there in javascript?

875


How do you check if a value is a number in javascript?

917


What typeof returns for a null value?

993