結果 : javascript check if variable is of type date