America can't handle male homosexuality
popbuzz.com3 pointsby adrianhel0 comments
typeof x?.then === 'function'
Or if I was code golfin: x?.then?.call
The first case does not account for built in prototype extensions and the second has false positives with certain data structures.