Returns an arbitrary generator function, or undefined if generator syntax is unsupported.