Good catch. the line `var hasSharedApp;` is equivalent to the line above.