結果 : javascript test if variable is defined