結果 : javascript check if boolean is not undefined