結果 : check if map is not empty javascript