Can ES6 discover if something is a class thus requires new? Want to transparently handle both factories returning non-objects & classes.
Replying to @timkevinoxley
@secoif Nope. See https://esdiscuss.org/topic/determine-if-a-value-is-callable-constructible … for related discussion.
1:28 AM - 24 Apr 2015
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 