News for hackers. Stuff that matters.
Re:JavaScript Interview Question by buerkle on Thursday January 20, 2011 @01:45PM (#2124744)
That doesn't work. Variables in javascript are not block scoped but function scoped.
Re:JavaScript Interview Question by kenjackson on Thursday January 20, 2011 @01:52PM (#2124774)
Thanks. Good to know.