結果 : if variable exists javascript