結果 : handling string and working with window object in javascript