結果 : javascript check if function is defined before calling