Learning Web App Development

by Semmy Purewal

'cards' reference should be 'clubs'

page 223

23 Mar 2014

In the example at the bottom of page 223, there is a reference to cards that should be clubs. Specifically,

... cards.push({"rank":rank, "suit":"clubs"})

should actually be

... clubs.push({"rank":rank, "suit":"clubs"})

Thanks to Douglas Eichelberger for reporting this!