Search Posts

TypeError: Cannot read property ‘1’ of undefined compId

i have code like following[compId]

here the compid value is 1. when this value comes one means the javascript error cannot read the property 1 of undefined at compid.

Source: AngularJS

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.