/* @flow */
'use strict';
module.exports.hello = function(name: string): string {
    return 'Hello, ' + name + '!';
};
if(window.console) {
    window.console.log(module.exports.hello('world'));
}
@@ -118,24 +118,34 @@
 %7D;%0Aif(window
+ && window
 .console) %7B%0A

Add null check