Skip to main content
Stack Overflow
  1. About
  2. For Teams

Return to Answer

Post Timeline

Commonmark migration
Source Link

person.fname will give you fname object of person object.

person.lname will give you lname object of person object.

person.age will give you age object of person object.

for (x in person)
 {
 alert(person[x]); 
 }

it'll iterate through the person object. While in person.x; 'x' is an unknown property to person object.

It is better you should go through some basic javascript concepts, [here][1]here and [here][2]here. [1]: http://www.tutorialspoint.com/javascript/javascript_quick_guide.htm [2]: http://www.echoecho.com/javascript.htm

person.fname will give you fname object of person object.

person.lname will give you lname object of person object.

person.age will give you age object of person object.

for (x in person)
 {
 alert(person[x]); 
 }

it'll iterate through the person object. While in person.x; 'x' is an unknown property to person object.

It is better you should go through some basic javascript concepts, [here][1] and [here][2]. [1]: http://www.tutorialspoint.com/javascript/javascript_quick_guide.htm [2]: http://www.echoecho.com/javascript.htm

person.fname will give you fname object of person object.

person.lname will give you lname object of person object.

person.age will give you age object of person object.

for (x in person)
 {
 alert(person[x]); 
 }

it'll iterate through the person object. While in person.x; 'x' is an unknown property to person object.

It is better you should go through some basic javascript concepts, here and here.

added 215 characters in body
Source Link
Mumthezir VP
  • 6.6k
  • 6
  • 30
  • 60

person.fname will give you fname object of person object.

person.lname will give you lname object of person object.

person.age will give you age object of person object.

for (x in person)
 {
 alert(person[x]); 
 }

it'll iterate through the person object. While in person.x; 'x' is an unknown property to person object.

It is better you should go through some basic javascript concepts, [here][1] and [here][2]. [1]: http://www.tutorialspoint.com/javascript/javascript_quick_guide.htm [2]: http://www.echoecho.com/javascript.htm

person.fname will give you fname object of person object.

person.lname will give you lname object of person object.

person.age will give you age object of person object.

for (x in person)
 {
 alert(person[x]); 
 }

it'll iterate through the person object. While in person.x; 'x' is an unknown property to person object.

person.fname will give you fname object of person object.

person.lname will give you lname object of person object.

person.age will give you age object of person object.

for (x in person)
 {
 alert(person[x]); 
 }

it'll iterate through the person object. While in person.x; 'x' is an unknown property to person object.

It is better you should go through some basic javascript concepts, [here][1] and [here][2]. [1]: http://www.tutorialspoint.com/javascript/javascript_quick_guide.htm [2]: http://www.echoecho.com/javascript.htm

Post Undeleted by Mumthezir VP
Post Deleted by Mumthezir VP
Source Link
Mumthezir VP
  • 6.6k
  • 6
  • 30
  • 60

person.fname will give you fname object of person object.

person.lname will give you lname object of person object.

person.age will give you age object of person object.

for (x in person)
 {
 alert(person[x]); 
 }

it'll iterate through the person object. While in person.x; 'x' is an unknown property to person object.

lang-js

AltStyle によって変換されたページ (->オリジナル) /