Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
10 events
when toggle format what by license comment
S May 5, 2023 at 0:51 history suggested cachius CC BY-SA 4.0
Completed inversion from 1st revision
May 4, 2023 at 22:28 comment added InSync That's because both Dates and arrays are objects.
May 4, 2023 at 19:06 review Suggested edits
S May 5, 2023 at 0:51
May 16, 2022 at 12:40 history edited Talha CC BY-SA 4.0
deleted 9 characters in body
Mar 31, 2022 at 7:58 comment added Manoj Rana this code is assuming array as object.
Oct 9, 2016 at 17:04 comment added mauron85 what about dates? new Date() instanceof Object => true
Sep 20, 2016 at 4:34 review Suggested edits
Sep 20, 2016 at 5:45
Mar 18, 2014 at 14:45 comment added Matt Fenwick This misses two cases: Object.prototype instanceof Object -> false. Object.create(null) instanceof Object -> false.
May 9, 2012 at 13:05 history edited bluish CC BY-SA 3.0
deleted 3 characters in body
May 9, 2012 at 11:43 history answered Talha CC BY-SA 3.0