Comment Comment by elclanrs Function declarations inside blocks are illegal, technically, because of hoisting. See http://kangax.github.io/nfe/#function-declarations-in-blocks parent elclanrs 12 years ago