File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 */
1212
1313 var element ;
14- while ( element - agg . next ( ) ) {
14+ while ( element = agg . next ( ) ) {
1515 // do something with the element
1616 console . log ( element ) ;
1717 }
6868 // http://shop.oreilly.com/product/9780596806767.do?sortby=publicationDate
6969 </ script >
7070 </ body >
71- </ html >
71+ </ html >
Original file line number Diff line number Diff line change 111111 // linked to the objects
112112 uni . nothing ; // true
113113 uni2 . nothing ; // true
114- uni . everything ; // undefined
115- uni2 . everything ; // undefined
114+ uni . everything ; // true
115+ uni2 . everything ; // true
116116
117117 // that sounds right:
118118 uni . constructor . name ; // "Universe"
119-
120- // but that's odd:
121- uni . constructor === Universe ; // false
119+ uni . constructor === Universe ; // true
122120
123121 var Universe ;
124122
145143 // http://shop.oreilly.com/product/9780596806767.do?sortby=publicationDate
146144 </ script >
147145 </ body >
148- </ html >
146+ </ html >
You can’t perform that action at this time.
0 commit comments