結果 : check for null object javascript