View Single Post
Old 01-23-2013, 04:06 AM   #112
eureka
but forgot what it's like
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 728
Karma: 2314258
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
Quote:
Originally Posted by stepk View Post
Note that I reversed the role of single and double quotes!
No, thanks. I enjoy my double quotes in JavaScript code.

(Just a joke. However, double quotes are syntactically valid in JavaScript, so remembering to avoid or to escape them could be mentally painful.)

EDIT: just realized that my original code didn't handle single quotes in JavaScript as expected. Fixed.

Last edited by eureka; 01-23-2013 at 04:49 AM.
eureka is offline   Reply With Quote