Jul 28, 2017 · 1 min read
That doesn’t fix the issue because empty() is still not generic. If we use new inside it, it can only handle functions that work with new. It will throw an error if you try to use it with an arrow-function factory (which are becoming very popular and common).
