javascript - How to check whether an object is a date? - Stack Overflow


PHOTO EMBED

Thu Dec 24 2020 07:57:29 GMT+0000 (UTC)

Saved by @ali_alaraby

date instanceof Date
content_copyCOPY

https://stackoverflow.com/questions/643782/how-to-check-whether-an-object-is-a-date