r/javascript • • Mar 01 '16

Udemy offering javascript course with JAVA logo

Post image
413 Upvotes

121 comments sorted by

View all comments

Show parent comments

11

u/maffoobristol Mar 01 '16

Three sync function calls inside an onclick is the bit that really hurt me. Also where the hell is photos defined?

4

u/azium Mar 01 '16

Where is page defined?

2

u/sakabako Mar 01 '16

page is defined inside the onclick handler string, right before updatePage is called.

0

u/azium Mar 01 '16

ah your right! Wasn't expecting it there heh.