結果 : javascript determine if variable is defined