This form is simpler, and it also checks for `null` and empty string:

```
    if (params.get("hasNativeMenus")) {
        global.brackets.nativeMenus = (params.get("hasNativeMenus") === "true");
    } else {
        global.brackets.nativeMenus = (!global.brackets.inBrowser && (global.brackets.platform !== "linux"));
    } 
```

Also, how expensive is the call to `params.get("hasNativeMenus")`? Should it be stored in a `var` so it's not called twice?