Stack traces show the call path that led to an error. Read from top (where error occurred) to bottom (where execution started).
TypeError: Cannot read property 'x' of undefined
at processItem (app.js:45)
at Array.forEach (<anonymous>)
at processAll (app.js:30)
at main (app.js:10)
The first line after the error message is usually where to look.