I see what you mean. I just checked JSHint, and it will also show a warning in this case. Given that, I think it's okay.