Singletons
(About.com) JavaScript doesn't have classes so all objects are really singletons anyway. We can however make an object behave even more like singletons in other languages do.In the twenty first tutorial on Object Oriented JavaScript we look at how to set up code
Update update feed set failed_fetches=0, fetched=current_timestamp() where feed_id = 1125 failed: 1142 [UPDATE command denied to user '334187_hdlns_ms5'@'10.187.248.89' for table 'feed'] in [update feed set failed_fetches=0, fetched=current_timestamp() where feed_id = 1125]
updated 1125 (Focus on JavaScript), inserted 0, updated 0, at 2012-05-30 19:44:43