結果 : javascript check if variable exists and has value