Is there an option to catch this?

11 views
Skip to first unread message

Vlad GURDIGA

unread,
Mar 30, 2015, 7:11:13 AM3/30/15
to jsh...@googlegroups.com
Hey guys!

The other day I found a bug caused by a typo, and the code looked similar to this:

var a = parseFloat(a);

I know var declarations are hoisted, but commonsensically I expected this to be identified as a bug and I was wondering if there is any way to catch this.
Reply all
Reply to author
Forward
0 new messages