jb55/reduce-generator — pull request #1 by ljharb (2014-08-31 07:04:48+00:00)
Title: Use is-generator-function instead of is-generator to detect generator functions

This switches from "is-generator", which uses easily fakeable constructor properties to test for generator functions, with "is-generator-function", which uses unfakeable Function#toString to test for generator functions.