javaScript Object for each loop
I am having problem with Object for..each loop

Please see Snap.

I am getting `point1` undefined.

Please suggest me.
![enter image description here][1]


  [1]: http://i.stack.imgur.com/HeJdh.png
javaScript Object for each loop
===

I am having problem with Object for..each loop

Please see Snap.

I am getting `point1` undefined.

Please suggest me.
![enter image description here][1]


  [1]: http://i.stack.imgur.com/HeJdh.png