Javascript - What is standard way to check a global variable is exist?
===

I saw new behavior from JSLint that confused me. JSLint will not pass this as standard code

    /*global someVar: false */
    if (typeof someVar === "undefined") {
        var someVar = "hi!";
    }

While this is new thing on JSLint but I couldn't find related thing about it on [JSLint project recent changes][1]. So what is standard way to do that?

  [1]: https://github.com/douglascrockford/JSLint/commits/master