Variable len used without a var declaration.